Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001025/0.001025, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001194/0.001194, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.9 MB / 0.666 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004949, allocations: 8 kB / 0.8154 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8251/0.8256, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2456/1.071, allocations: 220.6 MB / 1.17 GB, free: 2.328 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01955/1.091, allocations: 12.65 MB / 1.182 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002702/1.094, allocations: 55.56 kB / 1.182 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002649/1.096, allocations: 0.648 MB / 1.183 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005125/1.101, allocations: 1.418 MB / 1.184 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003619/1.105, allocations: 1.042 MB / 1.185 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006107/1.111, allocations: 3.874 MB / 1.189 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/1.113, allocations: 0.7802 MB / 1.19 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009344/1.122, allocations: 3.092 MB / 1.193 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/1.124, allocations: 0.8946 MB / 1.194 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/1.124, allocations: 44 kB / 1.194 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/1.126, allocations: 371.2 kB / 1.194 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004742/1.126, allocations: 402.6 kB / 1.195 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005201/1.127, allocations: 289 kB / 1.195 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/1.128, allocations: 1.06 MB / 1.196 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.128, allocations: 4 kB / 1.196 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.677e-06/1.128, allocations: 0 / 1.196 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.677e-05/1.128, allocations: 3.828 kB / 1.196 GB, free: 7.652 MB / 0.9512 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.002079/1.13, allocations: 1.39 MB / 1.197 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.13, allocations: 15.95 kB / 1.197 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/1.131, allocations: 194.2 kB / 1.197 GB, free: 6 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/1.132, allocations: 0.7928 MB / 1.198 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/1.133, allocations: 125.4 kB / 1.198 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.614e-05/1.133, allocations: 88 kB / 1.198 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/1.134, allocations: 0.9275 MB / 1.199 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/1.134, allocations: 7.938 kB / 1.199 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/1.134, allocations: 32 kB / 1.199 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/1.134, allocations: 24 kB / 1.199 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008572/1.135, allocations: 0.5072 MB / 1.2 GB, free: 3.348 MB / 0.9512 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.004644/1.14, allocations: 4.894 MB / 1.205 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/1.14, allocations: 436.6 kB / 1.205 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/1.141, allocations: 271.8 kB / 1.205 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/1.141, allocations: 97.09 kB / 1.205 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/1.141, allocations: 54.5 kB / 1.205 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/1.141, allocations: 0 / 1.205 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31): time 0.001851/1.143, allocations: 0.7977 MB / 1.206 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/1.143, allocations: 397.5 kB / 1.207 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.144, allocations: 1.259 MB / 1.208 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/1.144, allocations: 37.7 kB / 1.208 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/1.145, allocations: 0.5534 MB / 1.208 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/1.145, allocations: 114.5 kB / 1.209 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/1.145, allocations: 4 kB / 1.209 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.145, allocations: 321.9 kB / 1.209 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/1.145, allocations: 95.88 kB / 1.209 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/1.146, allocations: 346.5 kB / 1.209 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/1.146, allocations: 135.8 kB / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.146, allocations: 4 kB / 1.209 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008657/1.147, allocations: 0.4937 MB / 1.21 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.147, allocations: 8 kB / 1.21 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.147, allocations: 4 kB / 1.21 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003077/1.147, allocations: 73.73 kB / 1.21 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/1.148, allocations: 63.94 kB / 1.21 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/1.15, allocations: 3.02 MB / 1.213 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009764/1.151, allocations: 119.1 kB / 1.213 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/1.151, allocations: 19.98 kB / 1.213 GB, free: 4.688 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000585/1.152, allocations: 277.5 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004304/1.152, allocations: 146.2 kB / 1.214 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/1.152, allocations: 124 kB / 1.214 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.152, allocations: 8 kB / 1.214 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.152, allocations: 7.953 kB / 1.214 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.152, allocations: 8 kB / 1.214 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/1.156, allocations: 2.52 MB / 1.216 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/1.156, allocations: 7.984 kB / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/1.156, allocations: 51.92 kB / 1.216 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/1.156, allocations: 69.98 kB / 1.216 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/1.156, allocations: 16 kB / 1.216 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/1.158, allocations: 2.927 MB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.158, allocations: 8.125 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009642/1.159, allocations: 0.669 MB / 1.22 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/1.16, allocations: 255.3 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.16, allocations: 19.94 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/1.161, allocations: 63.88 kB / 1.22 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/1.161, allocations: 43.86 kB / 1.22 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/1.161, allocations: 19.98 kB / 1.22 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001127/1.162, allocations: 0.8646 MB / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.31e-07/1.162, allocations: 0 / 1.221 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001149/1.163, allocations: 259.8 kB / 1.221 GB, free: 11.8 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004863/1.164, allocations: 211.1 kB / 1.221 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000946/1.164, allocations: 0.5251 MB / 1.222 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.164, allocations: 7.938 kB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000502/1.165, allocations: 414.5 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/1.168, allocations: 0.7495 MB / 1.223 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002875/1.171, allocations: 2.072 MB / 1.225 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/1.172, allocations: 1.138 MB / 1.226 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008931/1.173, allocations: 247 kB / 1.226 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.173, allocations: 75.44 kB / 1.227 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of SimCode: time 1.603e-06/1.173, allocations: 0 / 1.227 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of Templates: time 0.04095/1.214, allocations: 21.63 MB / 1.248 GB, free: 0.9219 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches