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.001594/0.001594, 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.001745/0.001745, 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.837/2.837, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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: "" <> 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.00196/0.00196, allocations: 67.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8627, allocations: 176.1 MB / 1.321 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001398/0.8641, allocations: 0.5457 MB / 1.322 GB, free: 24.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.8649, allocations: 0.6295 MB / 1.323 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.8649, allocations: 0 / 1.323 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.8649, allocations: 3.938 kB / 1.323 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.8649, allocations: 0 / 1.323 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.8655, allocations: 184.1 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.713e-05/0.8655, allocations: 5.953 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.8655, allocations: 0 / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.093e-05/0.8655, allocations: 2.5 kB / 1.323 GB, free: 23.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.711e-05/0.8656, allocations: 6.891 kB / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.8656, allocations: 0 / 1.323 GB, free: 23.76 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.8658, allocations: 199.7 kB / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.639e-06/0.8659, allocations: 0 / 1.323 GB, free: 23.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.8659, allocations: 14.23 kB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.866, allocations: 136.2 kB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.8661, allocations: 0 / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8661, allocations: 0 / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.8661, allocations: 0 / 1.323 GB, free: 23.65 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.0002633/0.8663, allocations: 353.1 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.8664, allocations: 13.36 kB / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.521e-05/0.8664, allocations: 192 / 1.323 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.517e-05/0.8664, allocations: 34.17 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.8664, allocations: 3.906 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.909e-05/0.8665, allocations: 164.4 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-06/0.8665, allocations: 384 / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.8665, allocations: 2.812 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.717e-05/0.8666, allocations: 43.64 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.8666, allocations: 0 / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.8666, allocations: 0 / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.8666, allocations: 2.625 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.8666, allocations: 5.828 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.8668, allocations: 158.7 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.951e-05/0.8668, allocations: 33.02 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.8669, allocations: 11.3 kB / 1.324 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/0.8675, allocations: 0.6877 MB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.8676, allocations: 38.48 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.8676, allocations: 0 / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001224/0.8677, allocations: 47.91 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.8677, allocations: 54.41 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.619e-05/0.8677, allocations: 89.86 kB / 1.325 GB, free: 21.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-06/0.8677, allocations: 25.7 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.367e-05/0.8677, allocations: 84.14 kB / 1.325 GB, free: 21.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.8678, allocations: 7.953 kB / 1.325 GB, free: 21.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.8678, allocations: 19.06 kB / 1.325 GB, free: 21.6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.362e-05/0.8678, allocations: 310.8 kB / 1.325 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.8678, allocations: 10.91 kB / 1.325 GB, free: 21.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.8678, allocations: 17.69 kB / 1.325 GB, free: 21.27 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.261e-05/0.8679, allocations: 26.56 kB / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.8679, allocations: 0 / 1.325 GB, free: 21.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.797e-05/0.8679, allocations: 51.64 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.8679, allocations: 13.38 kB / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.868, allocations: 0 / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.868, allocations: 0 / 1.325 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-05/0.868, allocations: 16.81 kB / 1.325 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.868, allocations: 0 / 1.325 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.868, allocations: 14.77 kB / 1.325 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.868, allocations: 0 / 1.325 GB, free: 21.18 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.583e-05/0.8681, allocations: 112.5 kB / 1.326 GB, free: 21.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-06/0.8681, allocations: 3.938 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.8681, allocations: 55.23 kB / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.8681, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.8681, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.8681, allocations: 0 / 1.326 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.469e-05/0.8682, allocations: 158.7 kB / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8682, allocations: 0 / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.8682, allocations: 2.844 kB / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8682, allocations: 10.69 kB / 1.326 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.8683, allocations: 0 / 1.326 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8683, allocations: 0 / 1.326 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.8683, allocations: 0 / 1.326 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.084e-05/0.8683, allocations: 77.5 kB / 1.326 GB, free: 20.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.8683, allocations: 80.09 kB / 1.326 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.8684, allocations: 3.938 kB / 1.326 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.8684, allocations: 0 / 1.326 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.8684, allocations: 9.859 kB / 1.326 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.8684, allocations: 0 / 1.326 GB, free: 20.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.307e-06/0.8684, allocations: 75.28 kB / 1.326 GB, free: 20.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.8684, allocations: 0 / 1.326 GB, free: 20.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002369/0.8686, allocations: 55.11 kB / 1.326 GB, free: 20.54 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.0003738/0.869, allocations: 0.6899 MB / 1.327 GB, free: 19.9 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.94e-05/0.8691, allocations: 15.28 kB / 1.327 GB, free: 19.9 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8691, allocations: 2.594 kB / 1.327 GB, free: 19.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.8691, allocations: 2.625 kB / 1.327 GB, free: 19.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.8692, allocations: 2.844 kB / 1.327 GB, free: 19.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.8698, allocations: 1.117 MB / 1.328 GB, free: 18.78 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.633e-05/0.8699, allocations: 0.6831 MB / 1.328 GB, free: 18.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.652e-05/0.8699, allocations: 3.984 kB / 1.328 GB, free: 18.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.8699, allocations: 10.38 kB / 1.328 GB, free: 18.06 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.8699, allocations: 3.938 kB / 1.328 GB, free: 18.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.8891, allocations: 2.207 MB / 1.331 GB, free: 17.6 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.828, allocations: 4.469 kB / 1.331 GB, free: 17.6 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.119846185960341]