Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 108 kB / 15.61 MB, free: 144 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 194 kB / 16.53 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6044, allocations: 140.4 MB / 0.9497 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.00179/0.6062, allocations: 0.6976 MB / 0.9504 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006414/0.6068, allocations: 0.8018 MB / 0.9512 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.6069, allocations: 4 kB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.6069, allocations: 5.312 kB / 0.9512 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.601e-05/0.607, allocations: 3.938 kB / 0.9512 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.032e-05/0.6071, allocations: 10.73 kB / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.6072, allocations: 44.41 kB / 0.9513 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.038e-05/0.6073, allocations: 9.438 kB / 0.9513 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.6073, allocations: 21.42 kB / 0.9513 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.6074, allocations: 25.39 kB / 0.9513 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.6074, allocations: 8.125 kB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.6074, allocations: 4.125 kB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.6074, allocations: 7.938 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.6075, allocations: 23.98 kB / 0.9514 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.122e-05/0.6075, allocations: 39.41 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6075, allocations: 0 / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6076, allocations: 0 / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.6076, allocations: 1.031 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000402/0.608, allocations: 364.6 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.608, allocations: 9.562 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.506e-05/0.608, allocations: 36.16 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.6081, allocations: 3.438 kB / 0.9518 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.77e-05/0.6081, allocations: 173.7 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.6082, allocations: 1.844 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.6082, allocations: 2.844 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.6084, allocations: 70.25 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6084, allocations: 17.14 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.6084, allocations: 0 / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.6084, allocations: 1.281 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.6087, allocations: 62.52 kB / 0.9521 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.609, allocations: 266.8 kB / 0.9524 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.6092, allocations: 69.44 kB / 0.9524 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.6094, allocations: 35.36 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.6094, allocations: 1.812 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.045e-05/0.6094, allocations: 30.56 kB / 0.9525 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.6094, allocations: 4 kB / 0.9525 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000526/0.6099, allocations: 130.8 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.694e-05/0.61, allocations: 51.41 kB / 0.9527 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.61, allocations: 111 kB / 0.9528 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.61, allocations: 31.05 kB / 0.9528 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.266e-05/0.6101, allocations: 85.52 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.6101, allocations: 13.3 kB / 0.9529 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.6101, allocations: 16.31 kB / 0.9529 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.831e-05/0.6102, allocations: 312.3 kB / 0.9532 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.6103, allocations: 37.02 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.6105, allocations: 34.12 kB / 0.9533 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.6107, allocations: 71.47 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6107, allocations: 0 / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003077/0.611, allocations: 101.3 kB / 0.9535 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.6111, allocations: 5.688 kB / 0.9535 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.6111, allocations: 0 / 0.9535 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6111, allocations: 0 / 0.9535 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.6112, allocations: 27.12 kB / 0.9535 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.6112, allocations: 0 / 0.9535 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.6113, allocations: 10.73 kB / 0.9535 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.6113, allocations: 5.5 kB / 0.9535 GB, free: 5.875 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.624e-05/0.6114, allocations: 116.4 kB / 0.9536 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.6114, allocations: 1.562 kB / 0.9536 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.6118, allocations: 104.7 kB / 0.9537 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.6118, allocations: 0 / 0.9537 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6118, allocations: 1.312 kB / 0.9537 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6118, allocations: 384 / 0.9537 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.6119, allocations: 181.1 kB / 0.9539 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6119, allocations: 0 / 0.9539 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.721e-05/0.612, allocations: 18.98 kB / 0.9539 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.612, allocations: 0 / 0.9539 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.612, allocations: 1.375 kB / 0.9539 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.612, allocations: 0 / 0.9539 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6121, allocations: 0 / 0.9539 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.6124, allocations: 208.9 kB / 0.9541 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.6124, allocations: 78.55 kB / 0.9542 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.6124, allocations: 0 / 0.9542 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.6125, allocations: 11.08 kB / 0.9542 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.6126, allocations: 9.484 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.6126, allocations: 1.469 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.467e-05/0.6126, allocations: 85.42 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6126, allocations: 4 kB / 0.9543 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002245/0.6129, allocations: 10.44 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004939/0.6134, allocations: 0.737 MB / 0.955 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.6137, allocations: 66.58 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6137, allocations: 0 / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.6139, allocations: 40.58 kB / 0.9551 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.6142, allocations: 8.219 kB / 0.9551 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.6145, allocations: 152.5 kB / 0.9553 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.4e-05/0.6146, allocations: 0.683 MB / 0.9559 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.6147, allocations: 5.125 kB / 0.9559 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.6147, allocations: 18.03 kB / 0.956 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6147, allocations: 0 / 0.956 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.6305, allocations: 1.602 MB / 0.9575 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.88, allocations: 6.266 kB / 0.9575 GB, free: 2.551 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches