Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 110.3 kB / 16.41 MB, free: 6.453 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.001845/0.001846, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.535/2.535, allocations: 461.7 MB / 0.7353 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 71.88 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7243, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07433/0.7987, allocations: 75.21 MB / 1.282 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.8202, allocations: 15.18 MB / 1.296 GB, free: 2.938 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/0.8233, allocations: 67.62 kB / 1.297 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.8258, allocations: 0.8267 MB / 1.297 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007203/0.8331, allocations: 2.593 MB / 1.3 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.8369, allocations: 1.391 MB / 1.301 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005925/0.8428, allocations: 4.4 MB / 1.306 GB, free: 9.641 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.8452, allocations: 1.445 MB / 1.307 GB, free: 8.168 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.8489, allocations: 1.641 MB / 1.309 GB, free: 6.527 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/0.8511, allocations: 1.214 MB / 1.31 GB, free: 5.309 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004597/0.8516, allocations: 164 kB / 1.31 GB, free: 5.148 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.855, allocations: 1.4 MB / 1.311 GB, free: 3.746 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005743/0.8555, allocations: 398.6 kB / 1.312 GB, free: 3.355 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.8571, allocations: 0.906 MB / 1.313 GB, free: 2.445 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.005063/0.8622, allocations: 2.849 MB / 1.315 GB, free: 15.59 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.8622, allocations: 7.938 kB / 1.315 GB, free: 15.58 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8622, allocations: 0 / 1.315 GB, free: 15.58 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.191e-05/0.8623, allocations: 0 / 1.315 GB, free: 15.58 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004783/0.8671, allocations: 2.079 MB / 1.317 GB, free: 13.44 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.8672, allocations: 8.031 kB / 1.317 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009628/0.8681, allocations: 234.8 kB / 1.318 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.8711, allocations: 1.528 MB / 1.319 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.8712, allocations: 74 kB / 1.319 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.8714, allocations: 104 kB / 1.319 GB, free: 11.44 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.8736, allocations: 1.1 MB / 1.32 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.8737, allocations: 0 / 1.32 GB, free: 10.3 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.316e-05/0.8738, allocations: 40 kB / 1.32 GB, free: 10.27 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.8738, allocations: 24 kB / 1.32 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.8758, allocations: 0.8939 MB / 1.321 GB, free: 9.352 MB / 1.045 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.006261/0.882, allocations: 4.904 MB / 1.326 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.8835, allocations: 0.6158 MB / 1.327 GB, free: 3.539 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006998/0.8842, allocations: 347.6 kB / 1.327 GB, free: 3.199 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006734/0.8849, allocations: 0.8238 MB / 1.328 GB, free: 2.191 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.885, allocations: 43.12 kB / 1.328 GB, free: 2.137 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 2.965e-06/0.885, allocations: 0 / 1.328 GB, free: 2.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.00729/0.8923, allocations: 1.689 MB / 1.329 GB, free: 432 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.8923, allocations: 55.97 kB / 1.33 GB, free: 364 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.8944, allocations: 1.237 MB / 1.331 GB, free: 15.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.72e-05/0.8945, allocations: 41.7 kB / 1.331 GB, free: 15.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006022/0.8951, allocations: 0.6026 MB / 1.331 GB, free: 14.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.8954, allocations: 209 kB / 1.332 GB, free: 14.24 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.8957, allocations: 158.5 kB / 1.332 GB, free: 14.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8959, allocations: 334 kB / 1.332 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007308/0.8966, allocations: 288.7 kB / 1.332 GB, free: 13.46 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008834/0.8975, allocations: 0.4946 MB / 1.333 GB, free: 12.89 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.899, allocations: 0.7127 MB / 1.333 GB, free: 12.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.899, allocations: 3.938 kB / 1.333 GB, free: 12.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004694/0.9037, allocations: 1.273 MB / 1.335 GB, free: 10.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.9038, allocations: 8 kB / 1.335 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.9038, allocations: 4 kB / 1.335 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.9044, allocations: 145 kB / 1.335 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.905, allocations: 159.8 kB / 1.335 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009097/0.9059, allocations: 0.7083 MB / 1.336 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.9072, allocations: 123 kB / 1.336 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-05/0.9073, allocations: 31.98 kB / 1.336 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001216/0.9085, allocations: 0.5488 MB / 1.336 GB, free: 9.082 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008728/0.9094, allocations: 0.489 MB / 1.337 GB, free: 8.516 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00147/0.9109, allocations: 0.7012 MB / 1.338 GB, free: 7.766 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/0.9109, allocations: 0 / 1.338 GB, free: 7.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00468/0.9156, allocations: 1.269 MB / 1.339 GB, free: 6.484 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.9156, allocations: 8 kB / 1.339 GB, free: 6.477 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.9156, allocations: 4 kB / 1.339 GB, free: 6.473 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.9161, allocations: 133.1 kB / 1.339 GB, free: 6.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.9168, allocations: 159.8 kB / 1.339 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008353/0.9176, allocations: 0.7044 MB / 1.34 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.9188, allocations: 103.4 kB / 1.34 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.9188, allocations: 31.98 kB / 1.34 GB, free: 5.32 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002673/0.9191, allocations: 224.1 kB / 1.34 GB, free: 5.094 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/0.9195, allocations: 134.4 kB / 1.34 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/0.9242, allocations: 1.271 MB / 1.341 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004048/0.9283, allocations: 1.099 MB / 1.343 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.9283, allocations: 0 / 1.343 GB, free: 2.535 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006674/0.929, allocations: 295.2 kB / 1.343 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.9293, allocations: 16 kB / 1.343 GB, free: 2.211 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008583/0.9302, allocations: 59.86 kB / 1.343 GB, free: 2.152 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.9303, allocations: 40.5 kB / 1.343 GB, free: 2.113 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002725/0.933, allocations: 0.9795 MB / 1.344 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00256/0.9356, allocations: 1.327 MB / 1.345 GB, free: 15.78 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006805/0.9363, allocations: 324.3 kB / 1.346 GB, free: 15.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00138/0.9377, allocations: 0.8616 MB / 1.346 GB, free: 14.6 MB / 1.076 GB Notification: Performance of Backend: time 5.81e-07/0.9377, allocations: 3.938 kB / 1.346 GB, free: 14.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004152/0.9419, allocations: 1.383 MB / 1.348 GB, free: 13.22 MB / 1.076 GB Notification: Performance of SimCode: time 0.006027/0.9479, allocations: 3.145 MB / 1.351 GB, free: 10.04 MB / 1.076 GB Notification: Performance of Templates: time 0.0531/1.001, allocations: 33.3 MB / 1.383 GB, free: 9.059 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches