Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_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_latest_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.001475/0.001475, allocations: 103 kB / 16.36 MB, free: 6.336 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.001554/0.001554, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.462/2.462, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 66.78 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2885, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.804/1.093, allocations: 241.9 MB / 1.263 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02025/1.113, allocations: 13.52 MB / 1.276 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/1.115, allocations: 59.62 kB / 1.276 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002753/1.118, allocations: 0.9821 MB / 1.277 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005139/1.123, allocations: 1.781 MB / 1.279 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003171/1.127, allocations: 1.244 MB / 1.28 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005268/1.132, allocations: 3.266 MB / 1.283 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/1.133, allocations: 1.059 MB / 1.284 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009315/1.143, allocations: 4.121 MB / 1.288 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/1.144, allocations: 0.8905 MB / 1.289 GB, free: 312 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/1.145, allocations: 80 kB / 1.289 GB, free: 232 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001434/1.146, allocations: 0.7053 MB / 1.29 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004521/1.146, allocations: 446.5 kB / 1.29 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008267/1.147, allocations: 0.68 MB / 1.291 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/1.149, allocations: 1.518 MB / 1.293 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.149, allocations: 0 / 1.293 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/1.149, allocations: 0 / 1.293 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.777e-05/1.149, allocations: 0 / 1.293 GB, free: 12.88 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.00237/1.152, allocations: 1.624 MB / 1.294 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/1.152, allocations: 8.031 kB / 1.294 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000648/1.152, allocations: 199 kB / 1.294 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/1.154, allocations: 0.9049 MB / 1.295 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/1.154, allocations: 129.4 kB / 1.295 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/1.154, allocations: 84 kB / 1.295 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/1.155, allocations: 0.9181 MB / 1.296 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.156, allocations: 0 / 1.296 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/1.156, allocations: 35.94 kB / 1.296 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/1.156, allocations: 20 kB / 1.296 GB, free: 8.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/1.157, allocations: 0.512 MB / 1.297 GB, free: 8.242 MB / 0.9981 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.00465/1.161, allocations: 4.857 MB / 1.302 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/1.162, allocations: 417.5 kB / 1.302 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/1.162, allocations: 261.2 kB / 1.302 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/1.162, allocations: 105 kB / 1.302 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/1.162, allocations: 54.48 kB / 1.302 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/1.162, allocations: 0 / 1.302 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001861/1.164, allocations: 0.7818 MB / 1.303 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/1.164, allocations: 397.8 kB / 1.304 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/1.166, allocations: 1.275 MB / 1.305 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/1.166, allocations: 37.7 kB / 1.305 GB, free: 15.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/1.167, allocations: 0.5457 MB / 1.305 GB, free: 14.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.204e-05/1.167, allocations: 110.4 kB / 1.306 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/1.167, allocations: 85.59 kB / 1.306 GB, free: 14.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.167, allocations: 318 kB / 1.306 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/1.167, allocations: 95.88 kB / 1.306 GB, free: 14.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/1.167, allocations: 334.2 kB / 1.306 GB, free: 13.83 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/1.168, allocations: 332.5 kB / 1.307 GB, free: 13.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.168, allocations: 8 kB / 1.307 GB, free: 13.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008232/1.169, allocations: 497.4 kB / 1.307 GB, free: 12.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.169, allocations: 10.5 kB / 1.307 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/1.169, allocations: 5.172 kB / 1.307 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/1.169, allocations: 73.95 kB / 1.307 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/1.169, allocations: 59.91 kB / 1.307 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/1.172, allocations: 3.258 MB / 1.31 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/1.173, allocations: 87.17 kB / 1.311 GB, free: 9.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/1.173, allocations: 20 kB / 1.311 GB, free: 9.164 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.000391/1.173, allocations: 277.8 kB / 1.311 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/1.173, allocations: 142.3 kB / 1.311 GB, free: 8.742 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/1.174, allocations: 127.9 kB / 1.311 GB, free: 8.609 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.174, allocations: 8 kB / 1.311 GB, free: 8.602 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.174, allocations: 7.938 kB / 1.311 GB, free: 8.594 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.174, allocations: 4 kB / 1.311 GB, free: 8.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/1.177, allocations: 2.516 MB / 1.314 GB, free: 5.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.177, allocations: 8 kB / 1.314 GB, free: 5.922 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/1.177, allocations: 52.09 kB / 1.314 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001794/1.177, allocations: 70.36 kB / 1.314 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/1.177, allocations: 15.94 kB / 1.314 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/1.18, allocations: 3.266 MB / 1.317 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.18, allocations: 4 kB / 1.317 GB, free: 2.234 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000946/1.181, allocations: 0.6767 MB / 1.318 GB, free: 1.465 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/1.181, allocations: 243.4 kB / 1.318 GB, free: 1.207 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/1.181, allocations: 15.98 kB / 1.318 GB, free: 1.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/1.182, allocations: 39.95 kB / 1.318 GB, free: 1.152 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/1.182, allocations: 43.84 kB / 1.318 GB, free: 1.109 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/1.182, allocations: 23.98 kB / 1.318 GB, free: 1.086 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001148/1.183, allocations: 0.8763 MB / 1.319 GB, free: 216 kB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.183, allocations: 0 / 1.319 GB, free: 216 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009412/1.184, allocations: 255.7 kB / 1.319 GB, free: 15.96 MB / 1.029 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.0004681/1.185, allocations: 218.2 kB / 1.319 GB, free: 15.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009379/1.186, allocations: 0.5171 MB / 1.32 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.186, allocations: 0 / 1.32 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005008/1.186, allocations: 411 kB / 1.32 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/1.189, allocations: 0.7492 MB / 1.321 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/1.191, allocations: 1.82 MB / 1.323 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/1.192, allocations: 1.134 MB / 1.324 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000768/1.193, allocations: 238.5 kB / 1.324 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/1.193, allocations: 79.42 kB / 1.324 GB, free: 10.64 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/1.193, allocations: 3.938 kB / 1.324 GB, free: 10.63 MB / 1.029 GB Notification: Performance of Templates: time 0.03562/1.229, allocations: 23.22 MB / 1.347 GB, free: 3.742 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches