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.001474/0.001474, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001867/0.001867, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.126/3.126, allocations: 0.49 GB / 0.7959 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_12_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_12_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="cs",version="2.0",platforms={"static"}) [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.001925/0.001925, allocations: 66.28 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.315, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001687/0.3167, allocations: 0.5477 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3178, allocations: 0.5884 MB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.13e-05/0.3178, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.534e-05/0.3178, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.3178, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.3184, allocations: 179.4 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 3.37e-05/0.3185, allocations: 4 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.3185, allocations: 4 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.247e-05/0.3185, allocations: 3.938 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.783e-05/0.3185, allocations: 4 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-06/0.3186, allocations: 0 / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003691/0.3189, allocations: 207.7 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.3189, allocations: 7.984 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.377e-05/0.3189, allocations: 8 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.3192, allocations: 131.9 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3192, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3192, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.3192, allocations: 0 / 1.328 GB, free: 15.84 MB / 1.029 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.0003439/0.3195, allocations: 274.1 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3196, allocations: 8.031 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.607e-05/0.3196, allocations: 192 / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.3196, allocations: 30.75 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.922e-05/0.3196, allocations: 4.938 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.587e-05/0.3197, allocations: 106.5 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3197, allocations: 8.359 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.3197, allocations: 4.375 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.3198, allocations: 38.02 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.3198, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.3198, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3198, allocations: 3.984 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.3199, allocations: 7.984 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.3201, allocations: 128.7 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.347e-05/0.3202, allocations: 34.55 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.3202, allocations: 12.86 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.3208, allocations: 91.94 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3209, allocations: 34.5 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3209, allocations: 0 / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001447/0.321, allocations: 57.58 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.3211, allocations: 55.34 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.3211, allocations: 97.84 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3211, allocations: 29.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.3212, allocations: 80.14 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3212, allocations: 3.953 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.3212, allocations: 17.72 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3214, allocations: 310.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.3214, allocations: 7.984 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.3214, allocations: 21.72 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.307e-05/0.3214, allocations: 25.72 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3215, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.4e-05/0.3215, allocations: 53.62 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3215, allocations: 7.938 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.3216, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3216, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.285e-05/0.3216, allocations: 11.98 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3216, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.3216, allocations: 3.953 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.3216, allocations: 4 kB / 1.33 GB, free: 14.09 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.332e-05/0.3217, allocations: 118.3 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.3217, allocations: 3.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3218, allocations: 49.22 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3218, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3218, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3218, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.322, allocations: 124.8 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.322, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.322, allocations: 8 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.322, allocations: 8.25 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.322, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.322, allocations: 3.984 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.322, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.3221, allocations: 77.05 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-06/0.3221, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3221, allocations: 7.969 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.3222, allocations: 4 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.3222, allocations: 7.922 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.3222, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.3222, allocations: 75.28 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3222, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002546/0.3225, allocations: 51.88 kB / 1.33 GB, free: 13.47 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.0006196/0.3231, allocations: 0.6904 MB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.247e-05/0.3232, allocations: 11.98 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3232, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.3232, allocations: 7.938 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.3233, allocations: 8 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3244, allocations: 1.12 MB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.3245, allocations: 67.41 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.3245, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.3245, allocations: 7.438 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3245, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.3481, allocations: 2.341 MB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.33, allocations: 7.109 kB / 1.334 GB, free: 9.219 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 17.802888509002514]