Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 107.3 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.239/3.239, allocations: 0.4899 GB / 0.7915 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|etaApp|etaOri",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|etaApp|etaOri",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 77.48 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3747, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.002251/0.377, allocations: 0.5629 MB / 1.322 GB, free: 2.301 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.3783, allocations: 0.6235 MB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.6e-05/0.3784, allocations: 0 / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.473e-05/0.3784, allocations: 0 / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.032e-06/0.3784, allocations: 0 / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.379, allocations: 167.5 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.129e-05/0.3791, allocations: 7.938 kB / 1.323 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.3791, allocations: 7.984 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.151e-05/0.3792, allocations: 4 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.417e-05/0.3792, allocations: 3.984 kB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.3792, allocations: 0 / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.3796, allocations: 203.7 kB / 1.323 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.3796, allocations: 3.984 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.3796, allocations: 7.938 kB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.3798, allocations: 123.7 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3798, allocations: 0 / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3798, allocations: 3.938 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3798, allocations: 0 / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004037/0.3802, allocations: 355.2 kB / 1.323 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3803, allocations: 15.98 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.3803, allocations: 0.9375 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3804, allocations: 164.3 kB / 1.323 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.3804, allocations: 4.312 kB / 1.323 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.3804, allocations: 4.375 kB / 1.323 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.3805, allocations: 38.25 kB / 1.323 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3806, allocations: 192 / 1.323 GB, free: 500 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3806, allocations: 3.938 kB / 1.323 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.3806, allocations: 4 kB / 1.323 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.3806, allocations: 4 kB / 1.323 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.3809, allocations: 157.6 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.86e-05/0.381, allocations: 38.55 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.381, allocations: 4.859 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.382, allocations: 0.6844 MB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3821, allocations: 34.56 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3821, allocations: 0 / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001639/0.3822, allocations: 57.56 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.3823, allocations: 55.41 kB / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.3823, allocations: 89.86 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3824, allocations: 25.7 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.3824, allocations: 84.12 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.3824, allocations: 7.891 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.3825, allocations: 21.7 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3826, allocations: 314.8 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.3826, allocations: 4 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.3827, allocations: 17.72 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.809e-05/0.3827, allocations: 25.7 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3827, allocations: 0 / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.773e-05/0.3828, allocations: 57.94 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3828, allocations: 4 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3828, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3828, allocations: 7.969 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.399e-05/0.3829, allocations: 12 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3829, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.3829, allocations: 3.953 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3829, allocations: 11.88 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 7.897e-05/0.383, allocations: 109.8 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-06/0.383, allocations: 0 / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.3831, allocations: 61.05 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3831, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3831, allocations: 4 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3831, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.3832, allocations: 153.7 kB / 1.325 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3832, allocations: 0 / 1.325 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.3833, allocations: 4 kB / 1.325 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3833, allocations: 4 kB / 1.325 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3833, allocations: 3.938 kB / 1.325 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3833, allocations: 3.938 kB / 1.325 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3833, allocations: 0 / 1.325 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.3834, allocations: 69.12 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.3835, allocations: 85.12 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3835, allocations: 7.938 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-06/0.3835, allocations: 0 / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.3835, allocations: 0 / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3835, allocations: 4 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.175e-05/0.3835, allocations: 75.28 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3835, allocations: 0 / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002688/0.3838, allocations: 47.8 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (3): * Single equations (assignments): 3 * 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.000326/0.3841, allocations: 175.2 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.3842, allocations: 27.91 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3842, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.3843, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.3844, allocations: 0 / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.3846, allocations: 113.4 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.385, allocations: 0.6845 MB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.65e-05/0.385, allocations: 0 / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.766e-05/0.385, allocations: 11.44 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.385, allocations: 3.938 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of Templates: time 0.003973/0.389, allocations: 1.28 MB / 1.328 GB, free: 11.41 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & ./Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.12758530722931]