Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 167.1 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9986/0.9986, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.846/1.846, allocations: 377.9 MB / 0.6247 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.407e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02147/0.02149, allocations: 32.25 MB / 0.8443 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.03614, allocations: 9.601 MB / 0.8537 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.03892, allocations: 170.5 kB / 0.8538 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.04021, allocations: 0.7674 MB / 0.8546 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004796/0.04501, allocations: 2.665 MB / 0.8572 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.04878, allocations: 2.195 MB / 0.8593 GB, free: 1.688 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.006374/0.05515, allocations: 6.533 MB / 0.8657 GB, free: 11.13 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002663/0.05781, allocations: 1.907 MB / 0.8676 GB, free: 9.156 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004068/0.06188, allocations: 3.308 MB / 0.8708 GB, free: 5.867 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.06369, allocations: 1.558 MB / 0.8723 GB, free: 4.305 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.06402, allocations: 236 kB / 0.8725 GB, free: 4.074 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.06522, allocations: 0.7137 MB / 0.8732 GB, free: 3.359 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.0656, allocations: 0.6223 MB / 0.8738 GB, free: 2.734 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007711/0.06637, allocations: 0.9508 MB / 0.8748 GB, free: 1.781 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/0.06867, allocations: 2.378 MB / 0.8771 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.06867, allocations: 4 kB / 0.8771 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.06867, allocations: 0 / 0.8771 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.285e-05/0.06869, allocations: 0 / 0.8771 GB, free: 15.39 MB / 0.8386 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.003084/0.07178, allocations: 3.175 MB / 0.8802 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.07181, allocations: 8.031 kB / 0.8802 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.07366, allocations: 0.838 MB / 0.881 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.07574, allocations: 2.176 MB / 0.8831 GB, free: 9.031 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.07581, allocations: 123 kB / 0.8833 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.07604, allocations: 164 kB / 0.8834 GB, free: 8.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.07755, allocations: 1.328 MB / 0.8847 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.07758, allocations: 0 / 0.8847 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.862e-05/0.07767, allocations: 60 kB / 0.8848 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.0777, allocations: 44 kB / 0.8848 GB, free: 7.219 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007763/0.07847, allocations: 0.5657 MB / 0.8854 GB, free: 6.652 MB / 0.8386 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.005619/0.08409, allocations: 6.123 MB / 0.8913 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.08523, allocations: 0.6183 MB / 0.8919 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.08543, allocations: 167.3 kB / 0.8921 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.513e-05/0.08553, allocations: 39.97 kB / 0.8921 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.08555, allocations: 49.39 kB / 0.8922 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=76): time 2.324e-06/0.08556, allocations: 3.938 kB / 0.8922 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.002605/0.08816, allocations: 1.242 MB / 0.8934 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.0882, allocations: 89.05 kB / 0.8935 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.08969, allocations: 1.643 MB / 0.8951 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.08975, allocations: 45.7 kB / 0.8951 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00062/0.09037, allocations: 1.162 MB / 0.8963 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.09053, allocations: 293.4 kB / 0.8966 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.0908, allocations: 260.3 kB / 0.8968 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.09093, allocations: 0.5198 MB / 0.8973 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.09122, allocations: 150.5 kB / 0.8975 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007263/0.09194, allocations: 1.335 MB / 0.8988 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.09266, allocations: 0.7198 MB / 0.8995 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.09267, allocations: 8 kB / 0.8995 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00258/0.09525, allocations: 1.241 MB / 0.9007 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.09527, allocations: 8 kB / 0.9007 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.09528, allocations: 11.94 kB / 0.9007 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007933/0.09607, allocations: 407 kB / 0.9011 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.09657, allocations: 235.7 kB / 0.9013 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009027/0.09747, allocations: 1.805 MB / 0.9031 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/0.09835, allocations: 207.2 kB / 0.9033 GB, free: 3.379 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.233e-05/0.09843, allocations: 55.95 kB / 0.9033 GB, free: 3.324 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (105): * Single equations (assignments): 103 * 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,8), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003496/0.09878, allocations: 228.3 kB / 0.9035 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.09902, allocations: 230.6 kB / 0.9038 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.1001, allocations: 0.8785 MB / 0.9046 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.1001, allocations: 8 kB / 0.9046 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.1001, allocations: 0 / 0.9046 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1001, allocations: 11.97 kB / 0.9046 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.1029, allocations: 2.201 MB / 0.9068 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1029, allocations: 0 / 0.9068 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.1031, allocations: 115.8 kB / 0.9069 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007009/0.1038, allocations: 385.9 kB / 0.9073 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.1039, allocations: 27.98 kB / 0.9073 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.105, allocations: 1.849 MB / 0.9091 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.105, allocations: 4 kB / 0.9091 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.1067, allocations: 1.329 MB / 0.9104 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.1071, allocations: 372.1 kB / 0.9108 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.1073, allocations: 20 kB / 0.9108 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/0.1079, allocations: 75.94 kB / 0.9108 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.1079, allocations: 67.75 kB / 0.9109 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.108, allocations: 39.97 kB / 0.911 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007197/0.1087, allocations: 0.9312 MB / 0.9119 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1087, allocations: 0 / 0.9119 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001016/0.1097, allocations: 0.5885 MB / 0.9124 GB, free: 9.699 MB / 0.8698 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.0003048/0.11, allocations: 214.8 kB / 0.9126 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.111, allocations: 0.6129 MB / 0.9132 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.111, allocations: 0 / 0.9132 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.1116, allocations: 372.2 kB / 0.9136 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.1137, allocations: 0.9066 MB / 0.9145 GB, free: 7.605 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.1173, allocations: 3.235 MB / 0.9176 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.1176, allocations: 362.2 kB / 0.918 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008504/0.1185, allocations: 319 kB / 0.9183 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/0.1198, allocations: 0.7554 MB / 0.919 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/0.1198, allocations: 0 / 0.919 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of Templates: time 0.04624/0.166, allocations: 38.71 MB / 0.9568 GB, free: 13.05 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.925924303010106]