Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001178/0.001178, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001287/0.001287, allocations: 217 kB / 23.04 MB, free: 5.078 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.317/1.317, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.88/2.88, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_latest_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.001768/0.001768, allocations: 71.48 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2812, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001533/0.2827, allocations: 0.5551 MB / 1.346 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2837, allocations: 0.6389 MB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.079e-05/0.2838, allocations: 4 kB / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.2838, allocations: 0 / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-06/0.2838, allocations: 0 / 1.346 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.2843, allocations: 163.5 kB / 1.347 GB, free: 15.11 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 3.683e-05/0.2844, allocations: 11.98 kB / 1.347 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.184e-05/0.2844, allocations: 3.938 kB / 1.347 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.416e-05/0.2844, allocations: 7.984 kB / 1.347 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.422e-05/0.2844, allocations: 4 kB / 1.347 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.944e-06/0.2844, allocations: 0 / 1.347 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003502/0.2848, allocations: 211.7 kB / 1.347 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-06/0.2848, allocations: 0 / 1.347 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.2848, allocations: 7.938 kB / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.285, allocations: 124 kB / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.285, allocations: 0 / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.062e-06/0.285, allocations: 0 / 1.347 GB, free: 14.74 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.285, allocations: 0 / 1.347 GB, free: 14.74 MB / 1.045 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.0003001/0.2853, allocations: 274.1 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.2853, allocations: 12.03 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.125e-05/0.2854, allocations: 4.188 kB / 1.347 GB, free: 14.43 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.2854, allocations: 38.73 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.972e-05/0.2854, allocations: 4.891 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.3e-05/0.2855, allocations: 110.4 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.2855, allocations: 4.312 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.2855, allocations: 4.375 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.395e-05/0.2856, allocations: 42 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.2856, allocations: 0 / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.2856, allocations: 4 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.2856, allocations: 0 / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.968e-05/0.2856, allocations: 7.984 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.2858, allocations: 132.7 kB / 1.348 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/0.2859, allocations: 34.55 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.2859, allocations: 8.859 kB / 1.348 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005547/0.2865, allocations: 88.02 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2865, allocations: 34.5 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2865, allocations: 0 / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001268/0.2866, allocations: 49.69 kB / 1.348 GB, free: 13.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.2867, allocations: 51.41 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.242e-05/0.2867, allocations: 93.8 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.2867, allocations: 25.7 kB / 1.348 GB, free: 13.57 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.2868, allocations: 80.14 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.2868, allocations: 7.953 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.2868, allocations: 17.7 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2869, allocations: 318.8 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.287, allocations: 8 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.358e-05/0.287, allocations: 17.7 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.287, allocations: 21.72 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.287, allocations: 0 / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.922e-05/0.2871, allocations: 61.58 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2871, allocations: 7.938 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2871, allocations: 0 / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.2871, allocations: 4.031 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.68e-05/0.2872, allocations: 8 kB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2872, allocations: 0 / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.2872, allocations: 0 / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2872, allocations: 7.938 kB / 1.349 GB, free: 12.98 MB / 1.045 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 6.482e-05/0.2872, allocations: 109.8 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.2873, allocations: 7.922 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.425e-05/0.2874, allocations: 57.2 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2874, allocations: 3.938 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2874, allocations: 4 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.2874, allocations: 0 / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.2875, allocations: 124.7 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2875, allocations: 0 / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/0.2875, allocations: 8 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2875, allocations: 3.938 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-06/0.2875, allocations: 0 / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2875, allocations: 0 / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2875, allocations: 0 / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.2876, allocations: 89.41 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-06/0.2876, allocations: 0 / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.2877, allocations: 3.938 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-06/0.2877, allocations: 0 / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.2877, allocations: 4.031 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.2877, allocations: 0 / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.2877, allocations: 75.28 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.2877, allocations: 0 / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000265/0.288, allocations: 55.8 kB / 1.349 GB, free: 12.36 MB / 1.045 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.0005497/0.2885, allocations: 0.6865 MB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.024e-05/0.2886, allocations: 16 kB / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2886, allocations: 0 / 1.35 GB, free: 11.63 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.2886, allocations: 11.92 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.2887, allocations: 10.31 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.2897, allocations: 1.116 MB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.2899, allocations: 0.6729 MB / 1.351 GB, free: 9.707 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.2899, allocations: 3.984 kB / 1.351 GB, free: 9.703 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.29, allocations: 11.48 kB / 1.352 GB, free: 9.695 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.29, allocations: 0 / 1.352 GB, free: 9.695 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.3118, allocations: 2.301 MB / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.34, allocations: 9.094 kB / 1.354 GB, free: 7.535 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.31984046899015]