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.001569/0.001569, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001634/0.001634, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.424/1.424, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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.724/2.724, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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.001864/0.001864, allocations: 79.8 kB / 1.165 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8354, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001432/0.8369, allocations: 0.5435 MB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009476/0.8378, allocations: 0.6329 MB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.8378, allocations: 4 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.8378, allocations: 0 / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.8378, allocations: 0 / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.8384, allocations: 174.2 kB / 1.341 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.787e-05/0.8384, allocations: 6.922 kB / 1.341 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.8385, allocations: 3.328 kB / 1.341 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.136e-05/0.8385, allocations: 1.125 kB / 1.341 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.736e-05/0.8385, allocations: 5.984 kB / 1.341 GB, free: 15.41 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.8385, allocations: 8.969 kB / 1.341 GB, free: 15.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.8389, allocations: 196.8 kB / 1.342 GB, free: 15.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.8389, allocations: 4.641 kB / 1.342 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.8389, allocations: 10.19 kB / 1.342 GB, free: 15.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.8391, allocations: 128.8 kB / 1.342 GB, free: 15.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8391, allocations: 0 / 1.342 GB, free: 15.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8391, allocations: 0 / 1.342 GB, free: 15.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.8392, allocations: 1.062 kB / 1.342 GB, free: 15.3 MB / 1.061 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.0002682/0.8394, allocations: 350.2 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.8395, allocations: 10.14 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.446e-05/0.8395, allocations: 5.281 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.573e-05/0.8395, allocations: 32.44 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.8395, allocations: 8.828 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.569e-05/0.8396, allocations: 162.8 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.8396, allocations: 5.625 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.8396, allocations: 1.469 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.935e-05/0.8397, allocations: 40.42 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.8397, allocations: 0 / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-06/0.8397, allocations: 1.891 kB / 1.342 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.8397, allocations: 7.938 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.721e-05/0.8397, allocations: 11 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.8399, allocations: 153.6 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.452e-05/0.84, allocations: 29.94 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.84, allocations: 8.188 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006915/0.8407, allocations: 0.6876 MB / 1.343 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.8407, allocations: 36.12 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.8407, allocations: 3.938 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001269/0.8408, allocations: 48.94 kB / 1.343 GB, free: 13.55 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.8409, allocations: 53.09 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.453e-05/0.8409, allocations: 89.86 kB / 1.343 GB, free: 13.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.8409, allocations: 26.41 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-06/0.8409, allocations: 81.17 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.8409, allocations: 17.52 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.8409, allocations: 14.78 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.841, allocations: 312.6 kB / 1.344 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.841, allocations: 11.42 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/0.841, allocations: 15.52 kB / 1.344 GB, free: 12.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.8411, allocations: 27.78 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8411, allocations: 0 / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.3e-05/0.8411, allocations: 54.11 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.8411, allocations: 10.19 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.8411, allocations: 0 / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.8412, allocations: 6.062 kB / 1.344 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-05/0.8412, allocations: 6 kB / 1.344 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.8412, allocations: 5.734 kB / 1.344 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.8412, allocations: 7.938 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.8412, allocations: 2.781 kB / 1.344 GB, free: 12.82 MB / 1.061 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 3.774e-05/0.8413, allocations: 107.7 kB / 1.344 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-06/0.8413, allocations: 5.469 kB / 1.344 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.256e-05/0.8413, allocations: 56.42 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.8413, allocations: 0.5625 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.8414, allocations: 4 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8414, allocations: 0.6094 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.563e-05/0.8414, allocations: 153.9 kB / 1.344 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8414, allocations: 0.7969 kB / 1.344 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.8415, allocations: 4.641 kB / 1.344 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.8415, allocations: 3.938 kB / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.8415, allocations: 2.875 kB / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8415, allocations: 0 / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.8415, allocations: 0 / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.879e-05/0.8416, allocations: 81.83 kB / 1.344 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.8416, allocations: 77.91 kB / 1.345 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.8416, allocations: 8.734 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.8416, allocations: 5.875 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-06/0.8416, allocations: 0.7969 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.8416, allocations: 2.516 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.054e-05/0.8416, allocations: 75.28 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.8416, allocations: 0 / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002636/0.8419, allocations: 53.78 kB / 1.345 GB, free: 12.18 MB / 1.061 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.0003932/0.8423, allocations: 0.6827 MB / 1.345 GB, free: 11.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.8424, allocations: 21.3 kB / 1.345 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8424, allocations: 0 / 1.345 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.8424, allocations: 9.688 kB / 1.345 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.8425, allocations: 5.469 kB / 1.345 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.8431, allocations: 1.119 MB / 1.346 GB, free: 10.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.6e-05/0.8432, allocations: 0.6773 MB / 1.347 GB, free: 9.711 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.511e-05/0.8432, allocations: 2.359 kB / 1.347 GB, free: 9.711 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.8432, allocations: 11.08 kB / 1.347 GB, free: 9.703 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/0.8432, allocations: 0 / 1.347 GB, free: 9.703 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.863, allocations: 2.216 MB / 1.349 GB, free: 9.246 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.623, allocations: 11.44 kB / 1.349 GB, free: 9.238 MB / 1.061 GB " [Timeout remaining time 291] (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: 14.541859645047225]