Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 117.5 kB / 16.42 MB, free: 6.02 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.00179/0.00179, allocations: 182.8 kB / 17.35 MB, free: 5.625 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.447/1.447, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.713/2.713, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.91 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9421/0.9437, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07643/1.02, allocations: 75.18 MB / 1.3 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02042/1.041, allocations: 12.75 MB / 1.312 GB, free: 5.301 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/1.044, allocations: 67.62 kB / 1.312 GB, free: 5.234 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002752/1.047, allocations: 0.8541 MB / 1.313 GB, free: 4.375 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00784/1.055, allocations: 2.59 MB / 1.316 GB, free: 1.773 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003876/1.059, allocations: 1.4 MB / 1.317 GB, free: 396 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007187/1.066, allocations: 4.389 MB / 1.321 GB, free: 11.98 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/1.069, allocations: 1.433 MB / 1.323 GB, free: 10.52 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004679/1.073, allocations: 1.656 MB / 1.324 GB, free: 8.859 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/1.076, allocations: 1.2 MB / 1.325 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003414/1.076, allocations: 164 kB / 1.326 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/1.08, allocations: 1.404 MB / 1.327 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004366/1.081, allocations: 398.6 kB / 1.327 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/1.082, allocations: 0.8982 MB / 1.328 GB, free: 4.797 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006035/1.088, allocations: 2.87 MB / 1.331 GB, free: 1.926 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.088, allocations: 4 kB / 1.331 GB, free: 1.922 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.104e-06/1.088, allocations: 0 / 1.331 GB, free: 1.922 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.16e-05/1.088, allocations: 0 / 1.331 GB, free: 1.922 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.004529/1.093, allocations: 2.139 MB / 1.333 GB, free: 15.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/1.093, allocations: 12.02 kB / 1.333 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/1.094, allocations: 239.7 kB / 1.333 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/1.096, allocations: 1.53 MB / 1.335 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/1.096, allocations: 78 kB / 1.335 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/1.097, allocations: 100 kB / 1.335 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/1.099, allocations: 1.1 MB / 1.336 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/1.099, allocations: 0 / 1.336 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/1.099, allocations: 43.98 kB / 1.336 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/1.099, allocations: 31.94 kB / 1.336 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/1.101, allocations: 0.8861 MB / 1.337 GB, free: 11.61 MB / 1.061 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.006697/1.107, allocations: 4.924 MB / 1.342 GB, free: 6.402 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/1.109, allocations: 0.6265 MB / 1.342 GB, free: 5.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006739/1.11, allocations: 354.3 kB / 1.343 GB, free: 5.422 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007477/1.11, allocations: 0.8277 MB / 1.344 GB, free: 4.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/1.11, allocations: 39.12 kB / 1.344 GB, free: 4.363 MB / 1.061 GB Notification: Performance of pre-optimization done (n=61): time 3.547e-06/1.11, allocations: 0 / 1.344 GB, free: 4.363 MB / 1.061 GB Notification: Performance of matching and sorting (n=61): time 0.006973/1.117, allocations: 1.69 MB / 1.345 GB, free: 2.645 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/1.117, allocations: 59.97 kB / 1.345 GB, free: 2.574 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/1.119, allocations: 1.225 MB / 1.347 GB, free: 1.332 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/1.119, allocations: 41.7 kB / 1.347 GB, free: 1.285 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005915/1.12, allocations: 0.6073 MB / 1.347 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/1.12, allocations: 226 kB / 1.347 GB, free: 460 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/1.121, allocations: 154.6 kB / 1.348 GB, free: 300 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.121, allocations: 330 kB / 1.348 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006776/1.121, allocations: 296.6 kB / 1.348 GB, free: 15.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/1.122, allocations: 499.8 kB / 1.349 GB, free: 15.11 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/1.124, allocations: 0.709 MB / 1.349 GB, free: 14.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.124, allocations: 0 / 1.349 GB, free: 14.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004744/1.128, allocations: 1.274 MB / 1.351 GB, free: 13.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.129, allocations: 7.938 kB / 1.351 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.129, allocations: 4.375 kB / 1.351 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/1.129, allocations: 144.7 kB / 1.351 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/1.13, allocations: 155.8 kB / 1.351 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000863/1.131, allocations: 0.7006 MB / 1.352 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.132, allocations: 119.3 kB / 1.352 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.132, allocations: 35.92 kB / 1.352 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001235/1.133, allocations: 0.5527 MB / 1.352 GB, free: 11.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000848/1.134, allocations: 493.7 kB / 1.353 GB, free: 10.76 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001403/1.136, allocations: 0.705 MB / 1.353 GB, free: 10.01 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.987e-06/1.136, allocations: 0 / 1.353 GB, free: 10.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004683/1.14, allocations: 1.274 MB / 1.355 GB, free: 8.723 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.14, allocations: 8 kB / 1.355 GB, free: 8.715 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.14, allocations: 4 kB / 1.355 GB, free: 8.711 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005127/1.141, allocations: 137 kB / 1.355 GB, free: 8.574 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/1.141, allocations: 159.8 kB / 1.355 GB, free: 8.418 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008175/1.142, allocations: 0.6967 MB / 1.356 GB, free: 7.695 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.143, allocations: 95.59 kB / 1.356 GB, free: 7.602 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/1.144, allocations: 31.98 kB / 1.356 GB, free: 7.57 MB / 1.076 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002935/1.144, allocations: 232.1 kB / 1.356 GB, free: 7.336 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/1.144, allocations: 139.1 kB / 1.356 GB, free: 7.199 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/1.149, allocations: 1.264 MB / 1.357 GB, free: 5.922 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003897/1.153, allocations: 1.099 MB / 1.358 GB, free: 4.785 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.153, allocations: 7.922 kB / 1.358 GB, free: 4.777 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00088/1.154, allocations: 311.9 kB / 1.359 GB, free: 4.453 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004162/1.154, allocations: 12 kB / 1.359 GB, free: 4.441 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009731/1.155, allocations: 51.94 kB / 1.359 GB, free: 4.391 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.155, allocations: 52.48 kB / 1.359 GB, free: 4.34 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002678/1.158, allocations: 0.96 MB / 1.36 GB, free: 3.371 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002783/1.161, allocations: 1.331 MB / 1.361 GB, free: 2.023 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006919/1.161, allocations: 332.3 kB / 1.361 GB, free: 1.703 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001815/1.163, allocations: 0.8614 MB / 1.362 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of Backend: time 6.62e-07/1.163, allocations: 0 / 1.362 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004865/1.168, allocations: 1.386 MB / 1.364 GB, free: 15.46 MB / 1.092 GB Notification: Performance of SimCode: time 0.006685/1.175, allocations: 3.166 MB / 1.367 GB, free: 12.25 MB / 1.092 GB Notification: Performance of Templates: time 0.06214/1.237, allocations: 33.52 MB / 1.399 GB, free: 11.05 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches