Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.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.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008055/0.008055, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001871/0.001871, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7452 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 64.14 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3384, allocations: 159.9 MB / 1.226 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.006229/0.3447, allocations: 4.924 MB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009026/0.3537, allocations: 5.583 MB / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009526/0.3547, allocations: 23.94 kB / 1.236 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003829/0.3586, allocations: 1.505 MB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.3611, allocations: 1.117 MB / 1.238 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.3636, allocations: 1.192 MB / 1.24 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6761/1.04, allocations: 13.56 MB / 1.253 GB, free: 16.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/1.04, allocations: 146.2 kB / 1.253 GB, free: 16.79 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/1.042, allocations: 0.8531 MB / 1.254 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/1.043, allocations: 0.8682 MB / 1.255 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002411/1.043, allocations: 96.19 kB / 1.255 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/1.045, allocations: 1.378 MB / 1.256 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008705/1.046, allocations: 1.145 MB / 1.257 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/1.047, allocations: 1.258 MB / 1.258 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00504/1.052, allocations: 4.006 MB / 1.262 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.052, allocations: 0 / 1.262 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.052, allocations: 3.969 kB / 1.262 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.861e-05/1.053, allocations: 0 / 1.262 GB, free: 15.43 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005705/1.058, allocations: 3.173 MB / 1.265 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.058, allocations: 9.062 kB / 1.265 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/1.062, allocations: 0.7285 MB / 1.266 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007975/1.07, allocations: 4.38 MB / 1.27 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/1.071, allocations: 37.75 kB / 1.27 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/1.071, allocations: 43.91 kB / 1.271 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/1.073, allocations: 0.9914 MB / 1.271 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/1.073, allocations: 0 / 1.271 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.241e-05/1.073, allocations: 11.06 kB / 1.272 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/1.073, allocations: 5.938 kB / 1.272 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/1.075, allocations: 0.8522 MB / 1.272 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006912/1.082, allocations: 3.244 MB / 1.276 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/1.084, allocations: 1.138 MB / 1.277 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/1.085, allocations: 457.6 kB / 1.277 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.477e-05/1.086, allocations: 18.34 kB / 1.277 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/1.086, allocations: 38.47 kB / 1.277 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 3.477e-06/1.086, allocations: 4 kB / 1.277 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.004395/1.09, allocations: 1.637 MB / 1.279 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/1.09, allocations: 55.47 kB / 1.279 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007213/1.097, allocations: 3.813 MB / 1.282 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004183/1.098, allocations: 42.14 kB / 1.283 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009102/1.099, allocations: 0.9999 MB / 1.284 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/1.099, allocations: 135.3 kB / 1.284 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009084/1.1, allocations: 0.5214 MB / 1.284 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.517e-05/1.1, allocations: 307.6 kB / 1.284 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002938/1.103, allocations: 1.818 MB / 1.286 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003159/1.106, allocations: 2.353 MB / 1.289 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005221/1.111, allocations: 3.87 MB / 1.292 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/1.111, allocations: 3.25 kB / 1.292 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00735/1.119, allocations: 4.488 MB / 1.297 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/1.119, allocations: 12.88 kB / 1.297 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/1.119, allocations: 9.688 kB / 1.297 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.339e-05/1.119, allocations: 19.28 kB / 1.297 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/1.12, allocations: 385.2 kB / 1.297 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.199e-05/1.12, allocations: 24.73 kB / 1.297 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/1.123, allocations: 274 kB / 1.297 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/1.123, allocations: 105.2 kB / 1.297 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003597/1.127, allocations: 2.168 MB / 1.3 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002653/1.13, allocations: 2.06 MB / 1.302 GB, free: 328 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005082/1.135, allocations: 3.291 MB / 1.305 GB, free: 14.91 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.61e-05/1.135, allocations: 3.594 kB / 1.305 GB, free: 14.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.007406/1.142, allocations: 3.891 MB / 1.309 GB, free: 13.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/1.142, allocations: 11.33 kB / 1.309 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/1.142, allocations: 10.72 kB / 1.309 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.734e-05/1.142, allocations: 20.56 kB / 1.309 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/1.144, allocations: 379 kB / 1.309 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-05/1.144, allocations: 23.8 kB / 1.309 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/1.148, allocations: 216.9 kB / 1.309 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003066/1.148, allocations: 100.4 kB / 1.309 GB, free: 13.48 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (187): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006905/1.149, allocations: 256.1 kB / 1.31 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.15, allocations: 273 kB / 1.31 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/1.154, allocations: 1.241 MB / 1.311 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.154, allocations: 6.781 kB / 1.311 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.154, allocations: 4.062 kB / 1.311 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.154, allocations: 6.797 kB / 1.311 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00468/1.159, allocations: 1.52 MB / 1.313 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.159, allocations: 1.062 kB / 1.313 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/1.16, allocations: 126.9 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/1.16, allocations: 1.188 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/1.16, allocations: 13.67 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/1.16, allocations: 1.344 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.16, allocations: 8.969 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/1.163, allocations: 1.311 MB / 1.314 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/1.165, allocations: 0.4983 MB / 1.314 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/1.167, allocations: 6.859 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.169, allocations: 69.81 kB / 1.315 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.169, allocations: 31 kB / 1.315 GB, free: 11.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.215e-05/1.169, allocations: 25.91 kB / 1.315 GB, free: 11.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.006362/1.175, allocations: 2.564 MB / 1.317 GB, free: 10.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.175, allocations: 0 / 1.317 GB, free: 10.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005608/1.181, allocations: 1.031 MB / 1.318 GB, free: 10.14 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001845/1.183, allocations: 495.9 kB / 1.319 GB, free: 9.988 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007871/1.191, allocations: 4.548 MB / 1.323 GB, free: 8.609 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.191, allocations: 0 / 1.323 GB, free: 8.609 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/1.192, allocations: 474.7 kB / 1.323 GB, free: 8.512 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006643/1.198, allocations: 1.319 MB / 1.325 GB, free: 8.105 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008579/1.207, allocations: 4.271 MB / 1.329 GB, free: 5.961 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/1.209, allocations: 1.785 MB / 1.331 GB, free: 4.234 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003552/1.213, allocations: 0.7951 MB / 1.331 GB, free: 3.438 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.214, allocations: 211.4 kB / 1.332 GB, free: 3.23 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/1.214, allocations: 0 / 1.332 GB, free: 3.23 MB / 1.014 GB Notification: Performance of Templates: time 0.09631/1.31, allocations: 57.07 MB / 1.387 GB, free: 11.25 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches