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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001476/0.001476, allocations: 102.2 kB / 16.27 MB, free: 6 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.001191/0.001191, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.47 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2707, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.7786/1.049, allocations: 241.9 MB / 1.186 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01901/1.068, allocations: 13.54 MB / 1.2 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003258/1.072, allocations: 60.59 kB / 1.2 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003363/1.075, allocations: 0.975 MB / 1.201 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005898/1.081, allocations: 1.788 MB / 1.202 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003922/1.085, allocations: 1.221 MB / 1.204 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005339/1.09, allocations: 3.261 MB / 1.207 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/1.093, allocations: 1.053 MB / 1.208 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0125/1.105, allocations: 4.116 MB / 1.212 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002046/1.107, allocations: 0.9014 MB / 1.213 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005152/1.108, allocations: 78.06 kB / 1.213 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/1.11, allocations: 0.693 MB / 1.214 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007771/1.111, allocations: 446.3 kB / 1.214 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001776/1.113, allocations: 0.6852 MB / 1.215 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003295/1.116, allocations: 1.489 MB / 1.216 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/1.116, allocations: 4 kB / 1.216 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.753e-06/1.116, allocations: 0 / 1.216 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.266e-05/1.116, allocations: 0 / 1.216 GB, free: 8.066 MB / 0.8887 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.003337/1.119, allocations: 1.614 MB / 1.218 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.12, allocations: 7.594 kB / 1.218 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009268/1.12, allocations: 200.6 kB / 1.218 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/1.122, allocations: 0.837 MB / 1.219 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/1.122, allocations: 126.3 kB / 1.219 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.123, allocations: 85.72 kB / 1.219 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/1.124, allocations: 0.9179 MB / 1.22 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/1.124, allocations: 6.312 kB / 1.22 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/1.124, allocations: 34.09 kB / 1.22 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/1.124, allocations: 20.06 kB / 1.22 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008948/1.125, allocations: 0.5075 MB / 1.22 GB, free: 5.02 MB / 0.8887 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.005468/1.131, allocations: 4.887 MB / 1.225 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/1.131, allocations: 418.5 kB / 1.225 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/1.132, allocations: 265.6 kB / 1.226 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/1.132, allocations: 100.2 kB / 1.226 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/1.132, allocations: 61.73 kB / 1.226 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.746e-06/1.132, allocations: 0 / 1.226 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.001912/1.134, allocations: 0.7809 MB / 1.227 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/1.134, allocations: 397 kB / 1.227 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/1.136, allocations: 1.271 MB / 1.228 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/1.136, allocations: 34.64 kB / 1.228 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/1.136, allocations: 0.5559 MB / 1.229 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/1.136, allocations: 104.9 kB / 1.229 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/1.137, allocations: 83.84 kB / 1.229 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.137, allocations: 326.7 kB / 1.229 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/1.137, allocations: 83.75 kB / 1.229 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/1.137, allocations: 341.8 kB / 1.23 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/1.138, allocations: 328.6 kB / 1.23 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.138, allocations: 2.969 kB / 1.23 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00103/1.139, allocations: 498.8 kB / 1.231 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.139, allocations: 7.438 kB / 1.231 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.139, allocations: 3 kB / 1.231 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/1.139, allocations: 68.73 kB / 1.231 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/1.14, allocations: 62.41 kB / 1.231 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/1.142, allocations: 3.264 MB / 1.234 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/1.143, allocations: 95.08 kB / 1.234 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/1.143, allocations: 19.56 kB / 1.234 GB, free: 8.762 MB / 0.9044 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.0005782/1.144, allocations: 273.2 kB / 1.234 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005612/1.144, allocations: 138.6 kB / 1.234 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/1.145, allocations: 125.3 kB / 1.234 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/1.145, allocations: 10.78 kB / 1.235 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.145, allocations: 9.688 kB / 1.235 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.145, allocations: 8.391 kB / 1.235 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/1.149, allocations: 2.522 MB / 1.237 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.149, allocations: 5.031 kB / 1.237 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/1.149, allocations: 50.28 kB / 1.237 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/1.149, allocations: 80.8 kB / 1.237 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/1.149, allocations: 11.81 kB / 1.237 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/1.152, allocations: 3.256 MB / 1.24 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.152, allocations: 12.75 kB / 1.24 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.153, allocations: 0.6638 MB / 1.241 GB, free: 2.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/1.154, allocations: 251.7 kB / 1.241 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003518/1.154, allocations: 15.8 kB / 1.241 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009106/1.155, allocations: 38.45 kB / 1.241 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/1.155, allocations: 46.97 kB / 1.241 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/1.155, allocations: 18.52 kB / 1.241 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001452/1.157, allocations: 0.8769 MB / 1.242 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.553e-06/1.157, allocations: 0 / 1.242 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001232/1.158, allocations: 266 kB / 1.242 GB, free: 1.535 MB / 0.9044 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.0005638/1.158, allocations: 216.8 kB / 1.243 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.16, allocations: 0.5182 MB / 1.243 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.16, allocations: 0 / 1.243 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005926/1.16, allocations: 409.7 kB / 1.244 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/1.164, allocations: 0.7583 MB / 1.244 GB, free: 312 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/1.168, allocations: 1.894 MB / 1.246 GB, free: 15.05 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.169, allocations: 1.129 MB / 1.247 GB, free: 14.15 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/1.169, allocations: 86.73 kB / 1.247 GB, free: 14.13 MB / 0.92 GB Notification: Performance of SimCode: time 2.514e-06/1.169, allocations: 0 / 1.247 GB, free: 14.13 MB / 0.92 GB Notification: Performance of Templates: time 0.03836/1.207, allocations: 27.55 MB / 1.274 GB, free: 3.906 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches