Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Movers.BaseClasses.Validation.EulerReducedSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow1|eff1.WHyd|pow2|eff2.WHyd|pow3|eff3.WHyd",fileNamePrefix="Buildings_10_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_10_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.001592/0.001592, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.001807/0.001807, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.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.384/2.384, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 72.05 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6886/0.6899, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.005504/0.6955, allocations: 4.907 MB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008084/0.7036, allocations: 5.571 MB / 1.178 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004329/0.704, allocations: 27.88 kB / 1.178 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003137/0.7072, allocations: 1.5 MB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.7091, allocations: 1.137 MB / 1.18 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.7111, allocations: 1.191 MB / 1.181 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01814/0.7293, allocations: 13.58 MB / 1.195 GB, free: 7.883 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.7296, allocations: 143 kB / 1.195 GB, free: 7.727 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.731, allocations: 0.8878 MB / 1.196 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.7321, allocations: 0.8677 MB / 1.196 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.7323, allocations: 100 kB / 1.197 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.7345, allocations: 1.38 MB / 1.198 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009226/0.7355, allocations: 1.149 MB / 1.199 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.7369, allocations: 1.255 MB / 1.2 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.7406, allocations: 3.995 MB / 1.204 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7407, allocations: 0 / 1.204 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7407, allocations: 3.938 kB / 1.204 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.7407, allocations: 3.938 kB / 1.204 GB, free: 14.05 MB / 0.9356 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.004879/0.7456, allocations: 3.071 MB / 1.207 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7456, allocations: 8.031 kB / 1.207 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003876/0.7495, allocations: 0.7185 MB / 1.208 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006571/0.7561, allocations: 4.346 MB / 1.212 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.7561, allocations: 32.56 kB / 1.212 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.7563, allocations: 48 kB / 1.212 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.7581, allocations: 1 MB / 1.213 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.7581, allocations: 0 / 1.213 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/0.7582, allocations: 12 kB / 1.213 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.7582, allocations: 4 kB / 1.213 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.7603, allocations: 0.8493 MB / 1.214 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005092/0.7654, allocations: 3.226 MB / 1.217 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.7677, allocations: 1.137 MB / 1.218 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.7687, allocations: 457.7 kB / 1.219 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.575e-05/0.7688, allocations: 20.23 kB / 1.219 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.7688, allocations: 46.72 kB / 1.219 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.7689, allocations: 4 kB / 1.219 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.003738/0.7726, allocations: 1.619 MB / 1.22 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.7726, allocations: 55.41 kB / 1.22 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0047/0.7773, allocations: 3.81 MB / 1.224 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.7775, allocations: 37.7 kB / 1.224 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008457/0.7783, allocations: 0.9971 MB / 1.225 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.7785, allocations: 130.3 kB / 1.225 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006849/0.7792, allocations: 0.5196 MB / 1.226 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.7793, allocations: 301.1 kB / 1.226 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.7818, allocations: 1.821 MB / 1.228 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002878/0.7847, allocations: 2.347 MB / 1.23 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004938/0.7897, allocations: 3.872 MB / 1.234 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.7897, allocations: 4 kB / 1.234 GB, free: 15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006505/0.7962, allocations: 4.479 MB / 1.238 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.7962, allocations: 11.94 kB / 1.238 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.7963, allocations: 12 kB / 1.238 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/0.7963, allocations: 20 kB / 1.238 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.7979, allocations: 383.5 kB / 1.239 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.548e-05/0.7979, allocations: 23.92 kB / 1.239 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.8, allocations: 261.5 kB / 1.239 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.8002, allocations: 104 kB / 1.239 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003115/0.8033, allocations: 2.171 MB / 1.241 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002571/0.8059, allocations: 2.061 MB / 1.243 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004391/0.8103, allocations: 3.291 MB / 1.246 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.237e-06/0.8103, allocations: 4 kB / 1.246 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=303) (initialization_lambda0): time 0.005941/0.8163, allocations: 3.883 MB / 1.25 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8163, allocations: 8 kB / 1.25 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.8163, allocations: 12 kB / 1.25 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.8164, allocations: 19.94 kB / 1.25 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.8178, allocations: 379.5 kB / 1.251 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/0.8179, allocations: 23.94 kB / 1.251 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.82, allocations: 210.7 kB / 1.251 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.8202, allocations: 99.97 kB / 1.251 GB, free: 13.23 MB / 0.9825 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.0003332/0.8205, allocations: 259.8 kB / 1.251 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005158/0.8211, allocations: 256.4 kB / 1.251 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.824, allocations: 1.238 MB / 1.253 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.824, allocations: 0 / 1.253 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.824, allocations: 4 kB / 1.253 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.825, allocations: 493.2 kB / 1.253 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004632/0.8255, allocations: 8 kB / 1.253 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.8267, allocations: 67.92 kB / 1.253 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.8268, allocations: 27.97 kB / 1.253 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002805/0.8296, allocations: 1.106 MB / 1.254 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002595/0.8323, allocations: 1.376 MB / 1.256 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001057/0.8333, allocations: 472.1 kB / 1.256 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003881/0.8372, allocations: 2.567 MB / 1.259 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of Backend: time 5.71e-07/0.8372, allocations: 0 / 1.259 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007803/0.845, allocations: 4.591 MB / 1.263 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of SimCode: time 0.009126/0.8542, allocations: 5.699 MB / 1.269 GB, free: 11 MB / 0.9981 GB Notification: Performance of Templates: time 0.0937/0.9479, allocations: 63.4 MB / 1.331 GB, free: 12.4 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches