Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.00273/0.002731, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 63.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9703/0.9719, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1865/1.158, allocations: 161.5 MB / 1.366 GB, free: 11.53 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003278/1.162, allocations: 1.7 MB / 1.368 GB, free: 9.824 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/1.162, allocations: 19.88 kB / 1.368 GB, free: 9.805 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006697/1.163, allocations: 159 kB / 1.368 GB, free: 9.648 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001548/1.165, allocations: 0.5095 MB / 1.368 GB, free: 9.137 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/1.166, allocations: 428 kB / 1.369 GB, free: 8.723 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000959/1.167, allocations: 0.5654 MB / 1.369 GB, free: 8.156 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/1.167, allocations: 180.4 kB / 1.37 GB, free: 7.977 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007807/1.168, allocations: 322.8 kB / 1.37 GB, free: 7.66 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/1.168, allocations: 151.2 kB / 1.37 GB, free: 7.512 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/1.168, allocations: 12 kB / 1.37 GB, free: 7.5 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/1.17, allocations: 0.6938 MB / 1.371 GB, free: 6.805 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/1.17, allocations: 79.78 kB / 1.371 GB, free: 6.727 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/1.17, allocations: 119.3 kB / 1.371 GB, free: 6.609 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/1.171, allocations: 0.4887 MB / 1.371 GB, free: 6.121 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.171, allocations: 0 / 1.371 GB, free: 6.121 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.623e-06/1.171, allocations: 0 / 1.371 GB, free: 6.121 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.017e-06/1.171, allocations: 0 / 1.371 GB, free: 6.121 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009878/1.172, allocations: 0.5916 MB / 1.372 GB, free: 5.48 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.172, allocations: 8.031 kB / 1.372 GB, free: 5.473 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003883/1.173, allocations: 51.67 kB / 1.372 GB, free: 5.422 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/1.173, allocations: 309.2 kB / 1.372 GB, free: 5.082 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/1.173, allocations: 12 kB / 1.372 GB, free: 5.07 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/1.173, allocations: 16 kB / 1.372 GB, free: 5.055 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/1.174, allocations: 192.7 kB / 1.373 GB, free: 4.852 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.174, allocations: 0 / 1.373 GB, free: 4.852 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/1.174, allocations: 4 kB / 1.373 GB, free: 4.848 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.174, allocations: 4 kB / 1.373 GB, free: 4.844 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/1.174, allocations: 127.8 kB / 1.373 GB, free: 4.719 MB / 1.092 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.001186/1.175, allocations: 0.7924 MB / 1.373 GB, free: 3.855 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/1.176, allocations: 78.53 kB / 1.374 GB, free: 3.77 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/1.176, allocations: 80.88 kB / 1.374 GB, free: 3.688 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/1.176, allocations: 186.2 kB / 1.374 GB, free: 3.469 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/1.176, allocations: 34.56 kB / 1.374 GB, free: 3.426 MB / 1.092 GB Notification: Performance of pre-optimization done (n=10): time 8.736e-06/1.176, allocations: 3.938 kB / 1.374 GB, free: 3.422 MB / 1.092 GB Notification: Performance of matching and sorting (n=10): time 0.0007094/1.177, allocations: 221.2 kB / 1.374 GB, free: 3.199 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/1.177, allocations: 55.34 kB / 1.374 GB, free: 3.133 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/1.177, allocations: 267 kB / 1.374 GB, free: 2.863 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/1.177, allocations: 29.7 kB / 1.374 GB, free: 2.828 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/1.177, allocations: 144 kB / 1.375 GB, free: 2.684 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/1.177, allocations: 39.44 kB / 1.375 GB, free: 2.645 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/1.177, allocations: 33.7 kB / 1.375 GB, free: 2.605 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.178, allocations: 338.8 kB / 1.375 GB, free: 2.266 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/1.178, allocations: 40.83 kB / 1.375 GB, free: 2.223 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/1.178, allocations: 93.11 kB / 1.375 GB, free: 2.113 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/1.178, allocations: 119.3 kB / 1.375 GB, free: 1.984 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/1.178, allocations: 4 kB / 1.375 GB, free: 1.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003507/1.179, allocations: 161.2 kB / 1.375 GB, free: 1.816 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.179, allocations: 7.938 kB / 1.375 GB, free: 1.809 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.179, allocations: 3.938 kB / 1.375 GB, free: 1.805 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.179, allocations: 8.172 kB / 1.375 GB, free: 1.797 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/1.179, allocations: 24.05 kB / 1.375 GB, free: 1.773 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.179, allocations: 0 / 1.375 GB, free: 1.773 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/1.179, allocations: 23.91 kB / 1.375 GB, free: 1.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/1.179, allocations: 8 kB / 1.375 GB, free: 1.742 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001984/1.179, allocations: 148.1 kB / 1.376 GB, free: 1.594 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001605/1.179, allocations: 93.61 kB / 1.376 GB, free: 1.484 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002476/1.18, allocations: 111.4 kB / 1.376 GB, free: 1.363 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/1.18, allocations: 0 / 1.376 GB, free: 1.363 MB / 1.092 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003372/1.18, allocations: 165.2 kB / 1.376 GB, free: 1.195 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/1.18, allocations: 4 kB / 1.376 GB, free: 1.191 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/1.18, allocations: 192 / 1.376 GB, free: 1.191 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/1.18, allocations: 7.938 kB / 1.376 GB, free: 1.184 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/1.18, allocations: 23.92 kB / 1.376 GB, free: 1.16 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/1.18, allocations: 0 / 1.376 GB, free: 1.16 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/1.18, allocations: 19.97 kB / 1.376 GB, free: 1.141 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/1.18, allocations: 8 kB / 1.376 GB, free: 1.133 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.18, allocations: 188.2 kB / 1.376 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/1.181, allocations: 23.72 kB / 1.376 GB, free: 0.918 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/1.181, allocations: 167.2 kB / 1.376 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.181, allocations: 0 / 1.376 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.181, allocations: 0 / 1.376 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.181, allocations: 0 / 1.376 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008753/1.182, allocations: 0.5859 MB / 1.377 GB, free: 80 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.182, allocations: 224 / 1.377 GB, free: 80 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/1.182, allocations: 35.92 kB / 1.377 GB, free: 44 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.182, allocations: 0 / 1.377 GB, free: 44 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.182, allocations: 4 kB / 1.377 GB, free: 40 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.182, allocations: 7.984 kB / 1.377 GB, free: 32 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.182, allocations: 0 / 1.377 GB, free: 32 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/1.182, allocations: 297.3 kB / 1.377 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.956e-05/1.183, allocations: 116.7 kB / 1.377 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/1.183, allocations: 8 kB / 1.377 GB, free: 15.56 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/1.183, allocations: 19.92 kB / 1.377 GB, free: 15.54 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/1.183, allocations: 19.86 kB / 1.377 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/1.183, allocations: 4 kB / 1.377 GB, free: 15.52 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001823/1.183, allocations: 197.9 kB / 1.378 GB, free: 15.33 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.1e-07/1.183, allocations: 0 / 1.378 GB, free: 15.33 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004885/1.184, allocations: 95.84 kB / 1.378 GB, free: 15.24 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004224/1.184, allocations: 171.6 kB / 1.378 GB, free: 15.07 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004928/1.184, allocations: 171.7 kB / 1.378 GB, free: 14.91 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.184, allocations: 0 / 1.378 GB, free: 14.91 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/1.185, allocations: 56.47 kB / 1.378 GB, free: 14.85 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/1.185, allocations: 113.3 kB / 1.378 GB, free: 14.74 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/1.186, allocations: 466.8 kB / 1.379 GB, free: 14.23 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/1.186, allocations: 0.7518 MB / 1.379 GB, free: 13.46 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/1.187, allocations: 23.44 kB / 1.379 GB, free: 13.44 MB / 1.107 GB Notification: Performance of SimCode: time 4.01e-07/1.187, allocations: 4 kB / 1.379 GB, free: 13.43 MB / 1.107 GB Notification: Performance of Templates: time 0.006876/1.193, allocations: 3.713 MB / 1.383 GB, free: 9.75 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches