Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve") translateModel(Buildings.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008036/0.008036, allocations: 98.48 kB / 15.73 MB, free: 6.047 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.001837/0.001838, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.758/2.758, allocations: 472.6 MB / 0.7453 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001987, allocations: 80.08 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3852, allocations: 159.9 MB / 1.226 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.9883/1.374, allocations: 193.6 MB / 1.415 GB, free: 7.547 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0217/1.395, allocations: 14.14 MB / 1.428 GB, free: 12.15 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/1.398, allocations: 40.5 kB / 1.428 GB, free: 12.14 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006695/1.405, allocations: 1.578 MB / 1.43 GB, free: 11.08 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00723/1.412, allocations: 2.347 MB / 1.432 GB, free: 9.289 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003404/1.415, allocations: 1.253 MB / 1.434 GB, free: 8.371 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01299/1.428, allocations: 8.639 MB / 1.442 GB, free: 0.832 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/1.431, allocations: 0.9544 MB / 1.443 GB, free: 15.86 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003288/1.434, allocations: 1.347 MB / 1.444 GB, free: 14.51 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/1.436, allocations: 0.974 MB / 1.445 GB, free: 13.54 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006907/1.437, allocations: 124 kB / 1.445 GB, free: 13.42 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006549/1.444, allocations: 2.378 MB / 1.448 GB, free: 11.04 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/1.445, allocations: 0.6427 MB / 1.448 GB, free: 10.39 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001703/1.446, allocations: 0.8473 MB / 1.449 GB, free: 9.539 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005975/1.452, allocations: 3.259 MB / 1.452 GB, free: 6.27 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.452, allocations: 0 / 1.452 GB, free: 6.27 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.864e-06/1.452, allocations: 0 / 1.452 GB, free: 6.27 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.801e-05/1.452, allocations: 0 / 1.452 GB, free: 6.27 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.003734/1.456, allocations: 2.168 MB / 1.454 GB, free: 4.035 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.456, allocations: 15.98 kB / 1.454 GB, free: 4.02 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/1.46, allocations: 0.5921 MB / 1.455 GB, free: 3.426 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004377/1.464, allocations: 2.155 MB / 1.457 GB, free: 1.223 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/1.464, allocations: 61.23 kB / 1.457 GB, free: 1.16 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/1.464, allocations: 66.81 kB / 1.457 GB, free: 1.098 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/1.466, allocations: 0.9496 MB / 1.458 GB, free: 116 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/1.466, allocations: 0 / 1.458 GB, free: 116 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.918e-05/1.466, allocations: 28 kB / 1.458 GB, free: 88 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/1.466, allocations: 21.31 kB / 1.458 GB, free: 68 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/1.468, allocations: 0.7506 MB / 1.459 GB, free: 15.31 MB / 1.154 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.005547/1.473, allocations: 4.352 MB / 1.463 GB, free: 10.68 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/1.475, allocations: 0.5962 MB / 1.464 GB, free: 10.07 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006417/1.476, allocations: 292.7 kB / 1.464 GB, free: 9.785 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/1.476, allocations: 190.2 kB / 1.464 GB, free: 9.562 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.476, allocations: 38.56 kB / 1.464 GB, free: 9.516 MB / 1.154 GB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/1.476, allocations: 0 / 1.464 GB, free: 9.516 MB / 1.154 GB Notification: Performance of matching and sorting (n=31): time 0.003008/1.479, allocations: 1.135 MB / 1.465 GB, free: 8.352 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.479, allocations: 59.41 kB / 1.465 GB, free: 8.281 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/1.481, allocations: 1.672 MB / 1.467 GB, free: 6.605 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/1.481, allocations: 33.7 kB / 1.467 GB, free: 6.566 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/1.482, allocations: 0.6587 MB / 1.468 GB, free: 5.898 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/1.482, allocations: 123 kB / 1.468 GB, free: 5.777 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/1.482, allocations: 230.5 kB / 1.468 GB, free: 5.547 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.483, allocations: 353.9 kB / 1.468 GB, free: 5.195 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/1.484, allocations: 0.7153 MB / 1.469 GB, free: 4.477 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/1.485, allocations: 0.9608 MB / 1.47 GB, free: 3.426 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/1.487, allocations: 1.557 MB / 1.472 GB, free: 1.797 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.487, allocations: 0 / 1.472 GB, free: 1.797 MB / 1.154 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003123/1.49, allocations: 1.967 MB / 1.473 GB, free: 15.82 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.49, allocations: 11.88 kB / 1.473 GB, free: 15.81 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.49, allocations: 8 kB / 1.473 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00049/1.491, allocations: 204.7 kB / 1.474 GB, free: 15.6 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007893/1.492, allocations: 188.1 kB / 1.474 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006086/1.492, allocations: 0.7123 MB / 1.475 GB, free: 14.68 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/1.493, allocations: 127.2 kB / 1.475 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.987e-05/1.493, allocations: 51.98 kB / 1.475 GB, free: 14.5 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001565/1.495, allocations: 0.9877 MB / 1.476 GB, free: 13.51 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001204/1.496, allocations: 0.8514 MB / 1.476 GB, free: 12.56 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002084/1.498, allocations: 1.346 MB / 1.478 GB, free: 11.14 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.27e-06/1.498, allocations: 4 kB / 1.478 GB, free: 11.14 MB / 1.17 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003142/1.502, allocations: 1.775 MB / 1.48 GB, free: 9.355 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/1.502, allocations: 8.438 kB / 1.48 GB, free: 9.348 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.502, allocations: 10 kB / 1.48 GB, free: 9.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007184/1.502, allocations: 240.7 kB / 1.48 GB, free: 9.102 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/1.503, allocations: 191.6 kB / 1.48 GB, free: 8.914 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006938/1.504, allocations: 0.8607 MB / 1.481 GB, free: 8.027 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.505, allocations: 111.5 kB / 1.481 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/1.505, allocations: 49.55 kB / 1.481 GB, free: 7.871 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (87): * Single equations (assignments): 84 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002681/1.505, allocations: 216.2 kB / 1.481 GB, free: 7.652 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/1.505, allocations: 159 kB / 1.481 GB, free: 7.496 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/1.507, allocations: 0.7821 MB / 1.482 GB, free: 6.703 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.507, allocations: 8 kB / 1.482 GB, free: 6.695 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.507, allocations: 3.938 kB / 1.482 GB, free: 6.691 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/1.507, allocations: 3.984 kB / 1.482 GB, free: 6.688 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/1.511, allocations: 1.874 MB / 1.484 GB, free: 4.73 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.511, allocations: 0 / 1.484 GB, free: 4.73 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/1.511, allocations: 93.05 kB / 1.484 GB, free: 4.641 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002389/1.512, allocations: 80.75 kB / 1.484 GB, free: 4.559 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/1.512, allocations: 15.98 kB / 1.484 GB, free: 4.543 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00051/1.512, allocations: 0.6783 MB / 1.485 GB, free: 3.84 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.512, allocations: 7.969 kB / 1.485 GB, free: 3.832 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/1.515, allocations: 1.252 MB / 1.486 GB, free: 2.539 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004733/1.515, allocations: 287.9 kB / 1.486 GB, free: 2.238 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/1.515, allocations: 8 kB / 1.486 GB, free: 2.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007167/1.516, allocations: 40.02 kB / 1.486 GB, free: 2.191 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/1.516, allocations: 31.97 kB / 1.486 GB, free: 2.16 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/1.516, allocations: 31.92 kB / 1.486 GB, free: 2.129 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001603/1.518, allocations: 1.135 MB / 1.488 GB, free: 1 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.7e-07/1.518, allocations: 0 / 1.488 GB, free: 1 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001812/1.52, allocations: 0.6902 MB / 1.488 GB, free: 316 kB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (mov.filter.s[1],mov.filter.s[2]) * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/1.521, allocations: 492 kB / 1.489 GB, free: 15.83 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003692/1.524, allocations: 1.946 MB / 1.491 GB, free: 13.89 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.524, allocations: 0 / 1.491 GB, free: 13.89 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000783/1.525, allocations: 306.8 kB / 1.491 GB, free: 13.59 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/1.529, allocations: 0.8059 MB / 1.492 GB, free: 12.81 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/1.534, allocations: 2.682 MB / 1.494 GB, free: 10.07 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/1.535, allocations: 1.323 MB / 1.496 GB, free: 8.719 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001582/1.537, allocations: 419.8 kB / 1.496 GB, free: 8.305 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/1.537, allocations: 103.4 kB / 1.496 GB, free: 8.203 MB / 1.186 GB Notification: Performance of SimCode: time 5.51e-07/1.537, allocations: 0 / 1.496 GB, free: 8.203 MB / 1.186 GB Notification: Performance of Templates: time 0.05712/1.594, allocations: 33.43 MB / 1.529 GB, free: 7.191 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches