Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.006368/0.006368, allocations: 101.5 kB / 15.73 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 196.5 kB / 16.68 MB, free: 6.375 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.491/2.491, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 60.25 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.325, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.143/0.468, allocations: 132.3 MB / 1.217 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03359/0.5016, allocations: 23.22 MB / 1.239 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004205/0.5059, allocations: 123.2 kB / 1.239 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004488/0.5104, allocations: 1.541 MB / 1.241 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.5227, allocations: 4.321 MB / 1.245 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005908/0.5286, allocations: 2.157 MB / 1.247 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01031/0.5389, allocations: 6.567 MB / 1.254 GB, free: 7.254 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004769/0.5437, allocations: 2.358 MB / 1.256 GB, free: 4.836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007674/0.5514, allocations: 2.814 MB / 1.259 GB, free: 2.016 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/0.5553, allocations: 1.891 MB / 1.261 GB, free: 120 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.7216/1.277, allocations: 249.3 kB / 1.261 GB, free: 52.22 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005567/1.283, allocations: 1.935 MB / 1.263 GB, free: 52.22 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009838/1.284, allocations: 0.6003 MB / 1.263 GB, free: 52.22 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002603/1.286, allocations: 1.455 MB / 1.265 GB, free: 52.22 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00883/1.295, allocations: 4.359 MB / 1.269 GB, free: 52.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.295, allocations: 1.266 kB / 1.269 GB, free: 52.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/1.295, allocations: 0 / 1.269 GB, free: 52.11 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.452e-05/1.295, allocations: 0.7188 kB / 1.269 GB, free: 52.11 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007604/1.303, allocations: 3.192 MB / 1.272 GB, free: 50.65 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.303, allocations: 10.53 kB / 1.272 GB, free: 50.65 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002963/1.303, allocations: 220.5 kB / 1.272 GB, free: 50.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004789/1.308, allocations: 0.8343 MB / 1.273 GB, free: 50.46 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005449/1.313, allocations: 2.312 MB / 1.275 GB, free: 49.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/1.314, allocations: 124.9 kB / 1.276 GB, free: 49.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/1.314, allocations: 161.3 kB / 1.276 GB, free: 49.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004601/1.318, allocations: 1.926 MB / 1.278 GB, free: 49.66 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/1.319, allocations: 1.312 kB / 1.278 GB, free: 49.66 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/1.319, allocations: 64.53 kB / 1.278 GB, free: 49.66 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/1.319, allocations: 36.31 kB / 1.278 GB, free: 49.66 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005171/1.324, allocations: 1.798 MB / 1.279 GB, free: 49.62 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/1.338, allocations: 8.989 MB / 1.288 GB, free: 45.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/1.342, allocations: 1.197 MB / 1.289 GB, free: 45.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/1.343, allocations: 464.1 kB / 1.29 GB, free: 45.19 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000826/1.344, allocations: 1.72 MB / 1.291 GB, free: 43.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.344, allocations: 45.05 kB / 1.292 GB, free: 43.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.765e-06/1.344, allocations: 0 / 1.292 GB, free: 43.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.008315/1.352, allocations: 2.336 MB / 1.294 GB, free: 42.74 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.352, allocations: 84.8 kB / 1.294 GB, free: 42.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005492/1.357, allocations: 2.527 MB / 1.296 GB, free: 42.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002789/1.358, allocations: 48.67 kB / 1.296 GB, free: 42.37 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/1.359, allocations: 1.042 MB / 1.297 GB, free: 42.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004114/1.359, allocations: 271.5 kB / 1.298 GB, free: 41.94 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006537/1.36, allocations: 259.7 kB / 1.298 GB, free: 41.91 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.36, allocations: 343.6 kB / 1.298 GB, free: 41.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002668/1.363, allocations: 0.5694 MB / 1.299 GB, free: 41.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003071/1.366, allocations: 0.9519 MB / 1.3 GB, free: 41.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004277/1.37, allocations: 1.257 MB / 1.301 GB, free: 40.85 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.37, allocations: 2.688 kB / 1.301 GB, free: 40.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007038/1.377, allocations: 2.027 MB / 1.303 GB, free: 40.61 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/1.377, allocations: 11.19 kB / 1.303 GB, free: 40.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.377, allocations: 11.94 kB / 1.303 GB, free: 40.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/1.38, allocations: 490 kB / 1.303 GB, free: 40.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.381, allocations: 277.9 kB / 1.304 GB, free: 40.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/1.383, allocations: 1.52 MB / 1.305 GB, free: 39.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/1.387, allocations: 370.7 kB / 1.306 GB, free: 39.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/1.387, allocations: 59.97 kB / 1.306 GB, free: 39.4 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001159/1.388, allocations: 461.7 kB / 1.306 GB, free: 39.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/1.389, allocations: 251.6 kB / 1.306 GB, free: 39.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/1.392, allocations: 1.508 MB / 1.308 GB, free: 39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.86e-05/1.392, allocations: 9.25 kB / 1.308 GB, free: 39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.392, allocations: 1.156 kB / 1.308 GB, free: 39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/1.392, allocations: 5.812 kB / 1.308 GB, free: 39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008144/1.401, allocations: 3.619 MB / 1.311 GB, free: 38.39 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.401, allocations: 2.75 kB / 1.311 GB, free: 38.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/1.401, allocations: 131.5 kB / 1.311 GB, free: 38.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/1.403, allocations: 492.3 kB / 1.312 GB, free: 38.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/1.403, allocations: 27.61 kB / 1.312 GB, free: 38.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/1.405, allocations: 1.581 MB / 1.313 GB, free: 37.28 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.405, allocations: 7.562 kB / 1.313 GB, free: 37.28 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/1.411, allocations: 1.947 MB / 1.315 GB, free: 36.77 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/1.412, allocations: 486.3 kB / 1.316 GB, free: 36.54 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008292/1.413, allocations: 19.25 kB / 1.316 GB, free: 36.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.415, allocations: 134.8 kB / 1.316 GB, free: 36.53 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.416, allocations: 61.14 kB / 1.316 GB, free: 36.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.416, allocations: 47.66 kB / 1.316 GB, free: 36.52 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003839/1.42, allocations: 1.771 MB / 1.318 GB, free: 36.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/1.42, allocations: 0 / 1.318 GB, free: 36.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004382/1.424, allocations: 0.696 MB / 1.318 GB, free: 36.29 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008895/1.433, allocations: 3.002 MB / 1.321 GB, free: 35.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00655/1.439, allocations: 1.346 MB / 1.323 GB, free: 35.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.865e-05/1.439, allocations: 4.062 kB / 1.323 GB, free: 35.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003366/1.443, allocations: 0.6753 MB / 1.323 GB, free: 35.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01148/1.454, allocations: 1.332 MB / 1.325 GB, free: 34.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.036/1.49, allocations: 16.65 MB / 1.341 GB, free: 30.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.492, allocations: 1.486 MB / 1.342 GB, free: 30.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002582/1.494, allocations: 440.6 kB / 1.343 GB, free: 30.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/1.496, allocations: 0.8995 MB / 1.344 GB, free: 29.39 MB / 1.014 GB Notification: Performance of SimCode: time 7.62e-07/1.496, allocations: 0 / 1.344 GB, free: 29.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/1.608, allocations: 66.21 MB / 1.408 GB, free: 2.781 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.65/18.25, allocations: 17.02 kB / 1.408 GB, free: 2.773 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches