Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 112 kB / 16.41 MB, free: 6.484 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.001606/0.001606, allocations: 183 kB / 17.34 MB, free: 5.762 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 63.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8505/0.852, allocations: 151.6 MB / 1.167 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2639/1.116, allocations: 241.9 MB / 1.404 GB, free: 1.227 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01807/1.134, allocations: 13.52 MB / 1.417 GB, free: 3.664 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001962/1.136, allocations: 63.62 kB / 1.417 GB, free: 3.602 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002758/1.139, allocations: 1.013 MB / 1.418 GB, free: 2.582 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005118/1.144, allocations: 1.855 MB / 1.42 GB, free: 0.7227 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/1.147, allocations: 1.242 MB / 1.421 GB, free: 15.49 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004687/1.152, allocations: 3.266 MB / 1.424 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/1.154, allocations: 1.043 MB / 1.425 GB, free: 11.14 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/1.164, allocations: 4.262 MB / 1.429 GB, free: 6.867 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/1.166, allocations: 0.8982 MB / 1.43 GB, free: 5.965 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004251/1.167, allocations: 80 kB / 1.43 GB, free: 5.887 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/1.169, allocations: 0.7014 MB / 1.431 GB, free: 5.184 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006347/1.169, allocations: 438.6 kB / 1.431 GB, free: 4.754 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/1.171, allocations: 0.68 MB / 1.432 GB, free: 4.07 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/1.173, allocations: 1.526 MB / 1.433 GB, free: 2.539 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.173, allocations: 3.938 kB / 1.433 GB, free: 2.535 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.723e-06/1.173, allocations: 4 kB / 1.433 GB, free: 2.531 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.934e-05/1.173, allocations: 0 / 1.433 GB, free: 2.531 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002825/1.176, allocations: 1.623 MB / 1.435 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.176, allocations: 8.625 kB / 1.435 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007409/1.177, allocations: 198.1 kB / 1.435 GB, free: 0.6523 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/1.179, allocations: 0.9089 MB / 1.436 GB, free: 15.69 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/1.179, allocations: 117.4 kB / 1.436 GB, free: 15.56 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/1.179, allocations: 88 kB / 1.436 GB, free: 15.47 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/1.181, allocations: 0.9181 MB / 1.437 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/1.181, allocations: 0 / 1.437 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/1.181, allocations: 36 kB / 1.437 GB, free: 14.43 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/1.181, allocations: 20 kB / 1.437 GB, free: 14.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009855/1.182, allocations: 0.511 MB / 1.438 GB, free: 13.9 MB / 1.17 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.00581/1.188, allocations: 4.86 MB / 1.442 GB, free: 8.727 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/1.188, allocations: 424.6 kB / 1.443 GB, free: 8.184 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/1.189, allocations: 259.9 kB / 1.443 GB, free: 7.887 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/1.189, allocations: 109.2 kB / 1.443 GB, free: 7.762 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/1.189, allocations: 62.27 kB / 1.443 GB, free: 7.691 MB / 1.17 GB Notification: Performance of pre-optimization done (n=31): time 2.875e-06/1.189, allocations: 0 / 1.443 GB, free: 7.691 MB / 1.17 GB Notification: Performance of matching and sorting (n=31): time 0.00199/1.191, allocations: 0.7781 MB / 1.444 GB, free: 6.863 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/1.191, allocations: 397.5 kB / 1.444 GB, free: 6.383 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/1.193, allocations: 1.267 MB / 1.446 GB, free: 5.105 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.823e-05/1.193, allocations: 41.69 kB / 1.446 GB, free: 5.059 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/1.194, allocations: 0.5495 MB / 1.446 GB, free: 4.504 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.194, allocations: 110.5 kB / 1.446 GB, free: 4.395 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/1.194, allocations: 81.59 kB / 1.446 GB, free: 4.309 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.194, allocations: 321.9 kB / 1.447 GB, free: 3.988 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/1.194, allocations: 95.92 kB / 1.447 GB, free: 3.895 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004233/1.195, allocations: 333.1 kB / 1.447 GB, free: 3.477 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/1.195, allocations: 328.5 kB / 1.447 GB, free: 3.109 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/1.195, allocations: 0 / 1.447 GB, free: 3.109 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001024/1.196, allocations: 0.4937 MB / 1.448 GB, free: 2.602 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.196, allocations: 4 kB / 1.448 GB, free: 2.598 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.196, allocations: 4 kB / 1.448 GB, free: 2.594 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/1.197, allocations: 73.66 kB / 1.448 GB, free: 2.516 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/1.197, allocations: 55.91 kB / 1.448 GB, free: 2.461 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/1.2, allocations: 3.266 MB / 1.451 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009746/1.201, allocations: 95.08 kB / 1.451 GB, free: 14.82 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/1.201, allocations: 16 kB / 1.451 GB, free: 14.81 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005123/1.201, allocations: 277.6 kB / 1.452 GB, free: 14.53 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/1.202, allocations: 138.5 kB / 1.452 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/1.202, allocations: 131.9 kB / 1.452 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.202, allocations: 4 kB / 1.452 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/1.202, allocations: 7.938 kB / 1.452 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.202, allocations: 4 kB / 1.452 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/1.206, allocations: 2.52 MB / 1.454 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/1.206, allocations: 4 kB / 1.454 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/1.206, allocations: 55.84 kB / 1.454 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/1.206, allocations: 70.05 kB / 1.454 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/1.206, allocations: 16 kB / 1.455 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/1.209, allocations: 3.262 MB / 1.458 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/1.209, allocations: 11.94 kB / 1.458 GB, free: 7.871 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/1.21, allocations: 0.681 MB / 1.458 GB, free: 7.098 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006384/1.211, allocations: 247.4 kB / 1.459 GB, free: 6.836 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/1.211, allocations: 12.19 kB / 1.459 GB, free: 6.824 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007857/1.212, allocations: 43.95 kB / 1.459 GB, free: 6.781 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/1.212, allocations: 43.72 kB / 1.459 GB, free: 6.738 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/1.212, allocations: 19.98 kB / 1.459 GB, free: 6.719 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00135/1.213, allocations: 0.8763 MB / 1.46 GB, free: 5.844 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.91e-07/1.213, allocations: 4 kB / 1.46 GB, free: 5.84 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001179/1.214, allocations: 255.7 kB / 1.46 GB, free: 5.59 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005598/1.215, allocations: 215.4 kB / 1.46 GB, free: 5.387 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001082/1.216, allocations: 0.517 MB / 1.461 GB, free: 4.844 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.443e-06/1.216, allocations: 4.125 kB / 1.461 GB, free: 4.84 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005713/1.217, allocations: 398.4 kB / 1.461 GB, free: 4.426 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003601/1.22, allocations: 0.7536 MB / 1.462 GB, free: 3.676 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/1.223, allocations: 1.874 MB / 1.463 GB, free: 1.695 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/1.224, allocations: 1.138 MB / 1.465 GB, free: 0.5273 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/1.224, allocations: 75.44 kB / 1.465 GB, free: 468 kB / 1.186 GB Notification: Performance of SimCode: time 8.32e-07/1.224, allocations: 0 / 1.465 GB, free: 468 kB / 1.186 GB Notification: Performance of Templates: time 0.03641/1.261, allocations: 27.66 MB / 1.492 GB, free: 4.961 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches