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.007344/0.007345, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001337/0.001337, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.492/2.492, allocations: 390.3 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.31 kB / 0.9504 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3308, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1382/0.469, allocations: 132.3 MB / 1.217 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03437/0.5035, allocations: 23.23 MB / 1.239 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004502/0.508, allocations: 131.2 kB / 1.239 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004911/0.513, allocations: 1.483 MB / 1.241 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01259/0.5256, allocations: 4.108 MB / 1.245 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006056/0.5317, allocations: 2.163 MB / 1.247 GB, free: 14.13 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009903/0.5416, allocations: 6.534 MB / 1.253 GB, free: 7.582 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0037/0.5453, allocations: 2.362 MB / 1.256 GB, free: 5.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007276/0.5526, allocations: 2.807 MB / 1.258 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00392/0.5565, allocations: 1.887 MB / 1.26 GB, free: 468 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000582/0.5571, allocations: 248 kB / 1.261 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7279/1.285, allocations: 1.933 MB / 1.262 GB, free: 52.44 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001329/1.286, allocations: 0.5955 MB / 1.263 GB, free: 52.44 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003799/1.29, allocations: 1.459 MB / 1.264 GB, free: 52.44 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01226/1.303, allocations: 4.362 MB / 1.269 GB, free: 52.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.303, allocations: 5.562 kB / 1.269 GB, free: 52.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.336e-06/1.303, allocations: 0.5 kB / 1.269 GB, free: 52.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001625/1.303, allocations: 1.094 kB / 1.269 GB, free: 52.32 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.01061/1.313, allocations: 3.181 MB / 1.272 GB, free: 50.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/1.313, allocations: 8.938 kB / 1.272 GB, free: 50.88 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004456/1.314, allocations: 222.9 kB / 1.272 GB, free: 50.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005495/1.319, allocations: 0.8403 MB / 1.273 GB, free: 50.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007187/1.327, allocations: 2.311 MB / 1.275 GB, free: 50.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/1.327, allocations: 126.6 kB / 1.275 GB, free: 50.12 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00042/1.327, allocations: 159.4 kB / 1.275 GB, free: 50.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004944/1.332, allocations: 1.926 MB / 1.277 GB, free: 49.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/1.332, allocations: 4.156 kB / 1.277 GB, free: 49.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/1.332, allocations: 65.34 kB / 1.277 GB, free: 49.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/1.333, allocations: 40.56 kB / 1.277 GB, free: 49.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005612/1.338, allocations: 1.793 MB / 1.279 GB, free: 49.85 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.01533/1.353, allocations: 8.996 MB / 1.288 GB, free: 45.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004627/1.358, allocations: 1.195 MB / 1.289 GB, free: 45.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/1.359, allocations: 464.8 kB / 1.289 GB, free: 45.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008423/1.36, allocations: 1.721 MB / 1.291 GB, free: 43.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/1.36, allocations: 41.91 kB / 1.291 GB, free: 43.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.595e-06/1.36, allocations: 4 kB / 1.291 GB, free: 43.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.009571/1.37, allocations: 2.335 MB / 1.294 GB, free: 42.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/1.37, allocations: 85.2 kB / 1.294 GB, free: 42.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/1.375, allocations: 2.527 MB / 1.296 GB, free: 42.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003116/1.376, allocations: 45.23 kB / 1.296 GB, free: 42.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008887/1.377, allocations: 1.046 MB / 1.297 GB, free: 42.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000341/1.377, allocations: 262.2 kB / 1.297 GB, free: 42.17 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00051/1.377, allocations: 257.3 kB / 1.298 GB, free: 42.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.378, allocations: 349.9 kB / 1.298 GB, free: 41.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/1.379, allocations: 0.5757 MB / 1.299 GB, free: 41.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/1.382, allocations: 0.9471 MB / 1.299 GB, free: 41.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/1.385, allocations: 1.254 MB / 1.301 GB, free: 41.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/1.385, allocations: 9.031 kB / 1.301 GB, free: 41.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007159/1.392, allocations: 2.024 MB / 1.303 GB, free: 40.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/1.392, allocations: 8.5 kB / 1.303 GB, free: 40.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/1.392, allocations: 11.56 kB / 1.303 GB, free: 40.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/1.394, allocations: 491.5 kB / 1.303 GB, free: 40.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.395, allocations: 284.7 kB / 1.303 GB, free: 40.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/1.397, allocations: 1.515 MB / 1.305 GB, free: 39.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/1.401, allocations: 368.3 kB / 1.305 GB, free: 39.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/1.401, allocations: 67.91 kB / 1.305 GB, free: 39.62 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.00124/1.403, allocations: 464.2 kB / 1.306 GB, free: 39.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008177/1.403, allocations: 247.9 kB / 1.306 GB, free: 39.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00418/1.408, allocations: 1.501 MB / 1.307 GB, free: 39.22 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/1.408, allocations: 13.09 kB / 1.307 GB, free: 39.22 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.408, allocations: 0 / 1.307 GB, free: 39.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.408, allocations: 4.484 kB / 1.307 GB, free: 39.22 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0087/1.416, allocations: 3.622 MB / 1.311 GB, free: 38.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.416, allocations: 3.219 kB / 1.311 GB, free: 38.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/1.417, allocations: 130 kB / 1.311 GB, free: 38.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/1.419, allocations: 485.5 kB / 1.312 GB, free: 38.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/1.419, allocations: 29.72 kB / 1.312 GB, free: 38.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002461/1.421, allocations: 1.586 MB / 1.313 GB, free: 37.51 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.421, allocations: 3.25 kB / 1.313 GB, free: 37.51 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006531/1.428, allocations: 1.941 MB / 1.315 GB, free: 37 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/1.43, allocations: 486.9 kB / 1.316 GB, free: 36.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005961/1.43, allocations: 23.34 kB / 1.316 GB, free: 36.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/1.432, allocations: 137.7 kB / 1.316 GB, free: 36.76 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.432, allocations: 65.95 kB / 1.316 GB, free: 36.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.433, allocations: 42.5 kB / 1.316 GB, free: 36.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00297/1.436, allocations: 1.775 MB / 1.318 GB, free: 36.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.436, allocations: 0 / 1.318 GB, free: 36.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002589/1.438, allocations: 0.6902 MB / 1.318 GB, free: 36.52 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.007407/1.446, allocations: 3.009 MB / 1.321 GB, free: 35.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00431/1.45, allocations: 1.339 MB / 1.322 GB, free: 35.35 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.45, allocations: 0 / 1.322 GB, free: 35.35 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0024/1.452, allocations: 0.6862 MB / 1.323 GB, free: 35.33 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007344/1.46, allocations: 1.327 MB / 1.324 GB, free: 35.12 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03469/1.494, allocations: 16.66 MB / 1.341 GB, free: 31.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008334/1.495, allocations: 1.488 MB / 1.342 GB, free: 30.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002078/1.497, allocations: 440 kB / 1.343 GB, free: 30.19 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/1.498, allocations: 0.9014 MB / 1.343 GB, free: 29.5 MB / 1.014 GB Notification: Performance of SimCode: time 9.82e-07/1.498, allocations: 0 / 1.343 GB, free: 29.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09976/1.598, allocations: 67.54 MB / 1.409 GB, free: 1.668 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.48/18.08, allocations: 3.859 kB / 1.409 GB, free: 1.664 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