Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001779/0.001779, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002158/0.002158, allocations: 199.1 kB / 16.26 MB, free: 6.625 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.538/1.538, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.811/2.811, allocations: 437 MB / 0.7101 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 59.91 kB / 0.8687 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6423/0.6445, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.299/0.9435, allocations: 239 MB / 1.25 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7176/1.661, allocations: 13.45 MB / 1.263 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/1.665, allocations: 55.41 kB / 1.263 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004084/1.669, allocations: 0.8538 MB / 1.264 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008382/1.677, allocations: 1.675 MB / 1.266 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005061/1.682, allocations: 1.13 MB / 1.267 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00963/1.692, allocations: 3.268 MB / 1.27 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003235/1.695, allocations: 1.009 MB / 1.271 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.018/1.713, allocations: 4.025 MB / 1.275 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/1.716, allocations: 0.9561 MB / 1.276 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004851/1.717, allocations: 78.12 kB / 1.276 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/1.72, allocations: 0.741 MB / 1.277 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001261/1.721, allocations: 442.3 kB / 1.277 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002079/1.723, allocations: 0.6865 MB / 1.278 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003379/1.727, allocations: 1.577 MB / 1.279 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.727, allocations: 0 / 1.279 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/1.727, allocations: 0.8125 kB / 1.279 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.673e-05/1.727, allocations: 0 / 1.279 GB, free: 1.523 MB / 0.9981 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.002897/1.73, allocations: 1.621 MB / 1.281 GB, free: 16.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/1.73, allocations: 10.17 kB / 1.281 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/1.731, allocations: 203.8 kB / 1.281 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/1.732, allocations: 0.8352 MB / 1.282 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/1.733, allocations: 127 kB / 1.282 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/1.733, allocations: 84.88 kB / 1.282 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/1.734, allocations: 0.919 MB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/1.734, allocations: 10.02 kB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/1.735, allocations: 34.56 kB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/1.735, allocations: 20.88 kB / 1.283 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009365/1.736, allocations: 0.5068 MB / 1.284 GB, free: 15.83 MB / 1.014 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.00589/1.741, allocations: 4.865 MB / 1.288 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/1.742, allocations: 420.9 kB / 1.289 GB, free: 12.09 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/1.742, allocations: 263.2 kB / 1.289 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/1.743, allocations: 105.9 kB / 1.289 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/1.743, allocations: 57.97 kB / 1.289 GB, free: 11.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 3.146e-06/1.743, allocations: 2.219 kB / 1.289 GB, free: 11.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.002195/1.745, allocations: 0.7734 MB / 1.29 GB, free: 11.54 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002929/1.745, allocations: 400.6 kB / 1.29 GB, free: 11.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/1.747, allocations: 1.269 MB / 1.292 GB, free: 10.91 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.979e-05/1.747, allocations: 38.02 kB / 1.292 GB, free: 10.88 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/1.748, allocations: 0.5584 MB / 1.292 GB, free: 10.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.901e-05/1.748, allocations: 109.2 kB / 1.292 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/1.748, allocations: 87.47 kB / 1.292 GB, free: 10.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.748, allocations: 319.7 kB / 1.293 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/1.748, allocations: 91.3 kB / 1.293 GB, free: 10.35 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/1.749, allocations: 340.5 kB / 1.293 GB, free: 10.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/1.749, allocations: 324.8 kB / 1.293 GB, free: 9.984 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.749, allocations: 0 / 1.293 GB, free: 9.984 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008736/1.75, allocations: 0.4946 MB / 1.294 GB, free: 9.859 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.75, allocations: 4.781 kB / 1.294 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.75, allocations: 3.344 kB / 1.294 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003023/1.75, allocations: 72.84 kB / 1.294 GB, free: 9.844 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/1.751, allocations: 63.53 kB / 1.294 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/1.754, allocations: 3.265 MB / 1.297 GB, free: 6.855 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.755, allocations: 108.8 kB / 1.297 GB, free: 6.816 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/1.755, allocations: 21.83 kB / 1.297 GB, free: 6.816 MB / 1.014 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.0005703/1.755, allocations: 273 kB / 1.298 GB, free: 6.699 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/1.756, allocations: 141.1 kB / 1.298 GB, free: 6.629 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/1.756, allocations: 128.8 kB / 1.298 GB, free: 6.605 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.756, allocations: 6.688 kB / 1.298 GB, free: 6.605 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/1.756, allocations: 3.312 kB / 1.298 GB, free: 6.605 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.756, allocations: 5.812 kB / 1.298 GB, free: 6.605 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/1.76, allocations: 2.527 MB / 1.3 GB, free: 5.113 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.76, allocations: 5.562 kB / 1.3 GB, free: 5.113 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/1.76, allocations: 48.05 kB / 1.3 GB, free: 5.113 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/1.76, allocations: 77.69 kB / 1.3 GB, free: 5.094 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/1.76, allocations: 10.91 kB / 1.3 GB, free: 5.094 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003188/1.763, allocations: 3.259 MB / 1.304 GB, free: 2.113 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.763, allocations: 9.844 kB / 1.304 GB, free: 2.113 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/1.764, allocations: 0.6777 MB / 1.304 GB, free: 1.711 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/1.765, allocations: 242.7 kB / 1.305 GB, free: 1.547 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/1.765, allocations: 12.09 kB / 1.305 GB, free: 1.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007158/1.766, allocations: 63.97 kB / 1.305 GB, free: 1.543 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/1.766, allocations: 39 kB / 1.305 GB, free: 1.539 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.766, allocations: 17.69 kB / 1.305 GB, free: 1.539 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001185/1.767, allocations: 0.8829 MB / 1.306 GB, free: 1.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.767, allocations: 0.875 kB / 1.306 GB, free: 1.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001213/1.769, allocations: 273.2 kB / 1.306 GB, free: 1.414 MB / 1.014 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.0006361/1.769, allocations: 218.3 kB / 1.306 GB, free: 1.305 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001077/1.77, allocations: 0.5285 MB / 1.307 GB, free: 1.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.77, allocations: 3.375 kB / 1.307 GB, free: 1.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005591/1.771, allocations: 399.8 kB / 1.307 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/1.774, allocations: 0.7517 MB / 1.308 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/1.777, allocations: 2.171 MB / 1.31 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/1.778, allocations: 1.13 MB / 1.311 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009421/1.779, allocations: 237.2 kB / 1.311 GB, free: 14.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/1.779, allocations: 81.83 kB / 1.311 GB, free: 14.71 MB / 1.029 GB Notification: Performance of SimCode: time 1.092e-06/1.779, allocations: 0 / 1.311 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Templates: time 0.04577/1.825, allocations: 23.1 MB / 1.334 GB, free: 11.99 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches