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.000965/0.000965, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.01128/0.01128, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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.609/2.609, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 16 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7363/0.7367, allocations: 142.4 MB / 0.955 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.281/1.018, allocations: 236.5 MB / 1.186 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02047/1.038, allocations: 13.43 MB / 1.199 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/1.041, allocations: 51.62 kB / 1.199 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003255/1.044, allocations: 0.8159 MB / 1.2 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005644/1.05, allocations: 1.697 MB / 1.202 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004028/1.054, allocations: 1.121 MB / 1.203 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006685/1.061, allocations: 4.588 MB / 1.207 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/1.063, allocations: 0.8945 MB / 1.208 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/1.074, allocations: 3.826 MB / 1.212 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/1.076, allocations: 0.9372 MB / 1.213 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005379/1.077, allocations: 44 kB / 1.213 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/1.079, allocations: 0.8961 MB / 1.214 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008233/1.08, allocations: 402.6 kB / 1.214 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/1.082, allocations: 0.6738 MB / 1.215 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002499/1.084, allocations: 1.521 MB / 1.216 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.084, allocations: 8 kB / 1.216 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.675e-06/1.084, allocations: 0 / 1.216 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.286e-05/1.084, allocations: 0 / 1.216 GB, free: 3.09 MB / 0.9669 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.002306/1.086, allocations: 1.374 MB / 1.217 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.087, allocations: 12.03 kB / 1.217 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/1.087, allocations: 190.2 kB / 1.218 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/1.089, allocations: 0.8425 MB / 1.218 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/1.089, allocations: 121.4 kB / 1.219 GB, free: 444 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/1.089, allocations: 91.98 kB / 1.219 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/1.09, allocations: 0.9275 MB / 1.22 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/1.09, allocations: 7.938 kB / 1.22 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/1.09, allocations: 32 kB / 1.22 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/1.091, allocations: 27.94 kB / 1.22 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009227/1.091, allocations: 0.515 MB / 1.22 GB, free: 14.75 MB / 0.9825 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.005153/1.097, allocations: 4.892 MB / 1.225 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/1.097, allocations: 424.7 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/1.098, allocations: 275.8 kB / 1.226 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/1.098, allocations: 93.09 kB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/1.098, allocations: 58.66 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 2.525e-06/1.098, allocations: 3.938 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001924/1.1, allocations: 0.8014 MB / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001873/1.1, allocations: 397.5 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/1.102, allocations: 1.267 MB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/1.102, allocations: 41.7 kB / 1.228 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/1.102, allocations: 0.5613 MB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.026e-05/1.102, allocations: 102.5 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/1.102, allocations: 29.7 kB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.102, allocations: 325.9 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/1.103, allocations: 91.94 kB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004554/1.103, allocations: 346.4 kB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/1.104, allocations: 336.5 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.104, allocations: 4 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009476/1.105, allocations: 0.4975 MB / 1.23 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.105, allocations: 12.06 kB / 1.23 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.105, allocations: 8.25 kB / 1.23 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/1.105, allocations: 69.67 kB / 1.23 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/1.105, allocations: 63.91 kB / 1.231 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/1.108, allocations: 2.931 MB / 1.233 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009584/1.109, allocations: 115 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/1.109, allocations: 16 kB / 1.234 GB, free: 15.93 MB / 0.9981 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.0005408/1.109, allocations: 285.6 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/1.11, allocations: 134.3 kB / 1.234 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/1.11, allocations: 131.9 kB / 1.234 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/1.11, allocations: 8 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.11, allocations: 4 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/1.11, allocations: 4 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/1.113, allocations: 2.528 MB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.113, allocations: 8 kB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/1.113, allocations: 51.94 kB / 1.237 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/1.114, allocations: 69.67 kB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/1.114, allocations: 12 kB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/1.116, allocations: 2.931 MB / 1.24 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.116, allocations: 4 kB / 1.24 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/1.117, allocations: 0.6962 MB / 1.24 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/1.117, allocations: 243.4 kB / 1.24 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/1.118, allocations: 15.98 kB / 1.24 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007306/1.118, allocations: 71.78 kB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/1.118, allocations: 43.84 kB / 1.241 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/1.118, allocations: 15.98 kB / 1.241 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001076/1.119, allocations: 0.8802 MB / 1.241 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.665e-06/1.119, allocations: 0 / 1.241 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001113/1.121, allocations: 271.8 kB / 1.242 GB, free: 7 MB / 0.9981 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.0005191/1.121, allocations: 220.1 kB / 1.242 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009653/1.122, allocations: 0.5205 MB / 1.242 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.122, allocations: 0 / 1.242 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000518/1.123, allocations: 414.1 kB / 1.243 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004706/1.127, allocations: 0.786 MB / 1.244 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/1.13, allocations: 2.192 MB / 1.246 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/1.131, allocations: 1.139 MB / 1.247 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000811/1.132, allocations: 238.7 kB / 1.247 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/1.132, allocations: 91.44 kB / 1.247 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/1.132, allocations: 0 / 1.247 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of Templates: time 0.5844/1.716, allocations: 24.11 MB / 1.271 GB, free: 275.7 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