Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_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_latest_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.005916/0.005916, allocations: 104.9 kB / 15.74 MB, free: 6.059 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.00126/0.00126, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.83 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8945/0.8959, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2566/1.153, allocations: 241.9 MB / 1.444 GB, free: 10.82 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02336/1.176, allocations: 13.53 MB / 1.457 GB, free: 13.26 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/1.179, allocations: 59.62 kB / 1.457 GB, free: 13.2 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003208/1.182, allocations: 0.9743 MB / 1.458 GB, free: 12.22 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005779/1.188, allocations: 1.781 MB / 1.46 GB, free: 10.43 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/1.192, allocations: 1.251 MB / 1.461 GB, free: 9.191 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005289/1.197, allocations: 3.258 MB / 1.464 GB, free: 5.922 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/1.199, allocations: 1.055 MB / 1.465 GB, free: 4.844 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/1.209, allocations: 4.141 MB / 1.469 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/1.211, allocations: 0.8944 MB / 1.47 GB, free: 15.79 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/1.211, allocations: 84 kB / 1.47 GB, free: 15.71 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/1.213, allocations: 0.7014 MB / 1.471 GB, free: 15 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004456/1.213, allocations: 438.5 kB / 1.471 GB, free: 14.57 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008041/1.214, allocations: 0.6761 MB / 1.472 GB, free: 13.89 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/1.216, allocations: 1.522 MB / 1.474 GB, free: 12.37 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.217, allocations: 0 / 1.474 GB, free: 12.37 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.114e-06/1.217, allocations: 0 / 1.474 GB, free: 12.37 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.453e-05/1.217, allocations: 0 / 1.474 GB, free: 12.37 MB / 1.201 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.002487/1.219, allocations: 1.627 MB / 1.475 GB, free: 10.68 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.219, allocations: 12.03 kB / 1.475 GB, free: 10.67 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006712/1.22, allocations: 198.1 kB / 1.475 GB, free: 10.48 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/1.221, allocations: 0.9089 MB / 1.476 GB, free: 9.512 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/1.221, allocations: 121.4 kB / 1.476 GB, free: 9.383 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/1.221, allocations: 84 kB / 1.476 GB, free: 9.301 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/1.223, allocations: 0.9142 MB / 1.477 GB, free: 8.293 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/1.223, allocations: 4 kB / 1.477 GB, free: 8.289 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/1.223, allocations: 32 kB / 1.477 GB, free: 8.258 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/1.223, allocations: 20 kB / 1.477 GB, free: 8.238 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008751/1.224, allocations: 0.515 MB / 1.478 GB, free: 7.727 MB / 1.201 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.004543/1.228, allocations: 4.864 MB / 1.483 GB, free: 2.547 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/1.229, allocations: 416.6 kB / 1.483 GB, free: 2.012 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/1.229, allocations: 264.1 kB / 1.483 GB, free: 1.711 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/1.23, allocations: 105 kB / 1.483 GB, free: 1.59 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/1.23, allocations: 54.5 kB / 1.483 GB, free: 1.527 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/1.23, allocations: 0 / 1.483 GB, free: 1.527 MB / 1.201 GB Notification: Performance of matching and sorting (n=31): time 0.001766/1.231, allocations: 0.7739 MB / 1.484 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/1.232, allocations: 405.9 kB / 1.485 GB, free: 220 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/1.233, allocations: 1.267 MB / 1.486 GB, free: 14.93 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/1.233, allocations: 37.7 kB / 1.486 GB, free: 14.89 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/1.234, allocations: 0.5495 MB / 1.486 GB, free: 14.34 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.685e-05/1.234, allocations: 110.3 kB / 1.487 GB, free: 14.23 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/1.234, allocations: 85.59 kB / 1.487 GB, free: 14.14 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.234, allocations: 325.8 kB / 1.487 GB, free: 13.82 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/1.234, allocations: 91.94 kB / 1.487 GB, free: 13.73 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/1.235, allocations: 332 kB / 1.487 GB, free: 13.31 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/1.235, allocations: 324.6 kB / 1.488 GB, free: 12.95 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.235, allocations: 3.938 kB / 1.488 GB, free: 12.94 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008007/1.236, allocations: 0.4935 MB / 1.488 GB, free: 12.43 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.236, allocations: 8 kB / 1.488 GB, free: 12.43 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/1.236, allocations: 4 kB / 1.488 GB, free: 12.42 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/1.236, allocations: 73.95 kB / 1.488 GB, free: 12.34 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/1.236, allocations: 51.91 kB / 1.488 GB, free: 12.29 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/1.239, allocations: 3.258 MB / 1.491 GB, free: 8.758 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/1.24, allocations: 99.06 kB / 1.492 GB, free: 8.66 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/1.24, allocations: 19.94 kB / 1.492 GB, free: 8.641 MB / 1.217 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.0003696/1.24, allocations: 285.7 kB / 1.492 GB, free: 8.352 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/1.24, allocations: 130.4 kB / 1.492 GB, free: 8.223 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/1.241, allocations: 128 kB / 1.492 GB, free: 8.094 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.241, allocations: 8 kB / 1.492 GB, free: 8.086 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.241, allocations: 7.938 kB / 1.492 GB, free: 8.078 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/1.241, allocations: 7.984 kB / 1.492 GB, free: 8.07 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/1.244, allocations: 2.512 MB / 1.495 GB, free: 5.414 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.244, allocations: 4 kB / 1.495 GB, free: 5.41 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/1.244, allocations: 56.53 kB / 1.495 GB, free: 5.355 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/1.244, allocations: 73.67 kB / 1.495 GB, free: 5.277 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/1.244, allocations: 12 kB / 1.495 GB, free: 5.266 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/1.246, allocations: 3.258 MB / 1.498 GB, free: 1.73 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.246, allocations: 7.938 kB / 1.498 GB, free: 1.723 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/1.247, allocations: 0.6767 MB / 1.499 GB, free: 0.9531 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/1.248, allocations: 251.4 kB / 1.499 GB, free: 0.6875 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.248, allocations: 15.98 kB / 1.499 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/1.248, allocations: 39.95 kB / 1.499 GB, free: 0.6328 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/1.248, allocations: 43.78 kB / 1.499 GB, free: 0.5898 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/1.248, allocations: 23.94 kB / 1.499 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0009738/1.249, allocations: 0.8802 MB / 1.5 GB, free: 15.69 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/1.249, allocations: 0 / 1.5 GB, free: 15.69 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008745/1.25, allocations: 255.7 kB / 1.5 GB, free: 15.44 MB / 1.232 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.000412/1.251, allocations: 217.4 kB / 1.5 GB, free: 15.23 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008399/1.252, allocations: 0.5204 MB / 1.501 GB, free: 14.68 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.252, allocations: 0 / 1.501 GB, free: 14.68 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004941/1.252, allocations: 407.1 kB / 1.501 GB, free: 14.26 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/1.255, allocations: 0.7548 MB / 1.502 GB, free: 13.51 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/1.258, allocations: 1.815 MB / 1.504 GB, free: 11.6 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/1.258, allocations: 1.134 MB / 1.505 GB, free: 10.43 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006489/1.259, allocations: 234.5 kB / 1.505 GB, free: 10.2 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/1.259, allocations: 83.44 kB / 1.505 GB, free: 10.12 MB / 1.232 GB Notification: Performance of SimCode: time 3.2e-07/1.259, allocations: 0 / 1.505 GB, free: 10.12 MB / 1.232 GB Notification: Performance of Templates: time 0.04107/1.3, allocations: 23.33 MB / 1.528 GB, free: 3.113 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches