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.001258/0.001258, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001411/0.001411, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.789 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.014/3.014, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_12_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",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.001975/0.001975, allocations: 72.02 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3075, allocations: 176.1 MB / 1.325 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001734/0.3093, allocations: 0.5459 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3104, allocations: 0.5923 MB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.27e-05/0.3105, allocations: 0 / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.3105, allocations: 4 kB / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.3105, allocations: 0 / 1.326 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.3111, allocations: 183.4 kB / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 3.724e-05/0.3112, allocations: 4 kB / 1.326 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.3112, allocations: 3.984 kB / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.367e-05/0.3112, allocations: 3.938 kB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.11e-05/0.3113, allocations: 4 kB / 1.326 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-06/0.3113, allocations: 0 / 1.326 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003848/0.3116, allocations: 203.7 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.3117, allocations: 0 / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.3117, allocations: 3.984 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.3119, allocations: 127.9 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3119, allocations: 4 kB / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3119, allocations: 0 / 1.327 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.3119, allocations: 0 / 1.327 GB, free: 0.7188 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.000336/0.3123, allocations: 278.1 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3123, allocations: 8.031 kB / 1.327 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.3123, allocations: 34.75 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.127e-05/0.3124, allocations: 0.9375 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.496e-05/0.3125, allocations: 106.5 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.3125, allocations: 4.375 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3125, allocations: 4.375 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.344e-05/0.3126, allocations: 38.25 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3126, allocations: 3.938 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.3126, allocations: 0 / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3126, allocations: 0 / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.439e-05/0.3126, allocations: 8 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.3129, allocations: 132.7 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.417e-05/0.313, allocations: 34.64 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.313, allocations: 8.859 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.3136, allocations: 91.86 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3136, allocations: 30.56 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3136, allocations: 0 / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001439/0.3138, allocations: 53.58 kB / 1.327 GB, free: 15.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3138, allocations: 59.34 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.612e-05/0.3139, allocations: 93.86 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3139, allocations: 25.7 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.3139, allocations: 80.14 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.3139, allocations: 3.953 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.314, allocations: 21.7 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3141, allocations: 310.8 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.3141, allocations: 12 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.756e-05/0.3142, allocations: 17.7 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.394e-05/0.3142, allocations: 21.72 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3142, allocations: 7.938 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.895e-05/0.3143, allocations: 53.62 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3143, allocations: 4 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3143, allocations: 3.938 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3143, allocations: 4.328 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.283e-05/0.3143, allocations: 4 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3143, allocations: 0 / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.3144, allocations: 7.953 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.3144, allocations: 4 kB / 1.328 GB, free: 14.97 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.659e-05/0.3144, allocations: 110.3 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.3145, allocations: 16 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.3146, allocations: 49.16 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3146, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3146, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3146, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.3147, allocations: 132.7 kB / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3147, allocations: 0 / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.3147, allocations: 4 kB / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3147, allocations: 0 / 1.328 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3147, allocations: 7.875 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3147, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3147, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.3149, allocations: 77.06 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-06/0.3149, allocations: 3.984 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3149, allocations: 7.969 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-06/0.3149, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.3149, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.3149, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.3149, allocations: 75.28 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3149, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002622/0.3152, allocations: 55.8 kB / 1.329 GB, free: 14.35 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.0006183/0.3158, allocations: 0.6905 MB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.417e-05/0.3159, allocations: 15.98 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3159, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/0.3159, allocations: 11.92 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.3161, allocations: 7.938 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.3171, allocations: 1.115 MB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.237e-05/0.3172, allocations: 55.36 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.3172, allocations: 12.05 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.3172, allocations: 11.44 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3172, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.3494, allocations: 2.673 MB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.03, allocations: 8.078 kB / 1.333 GB, free: 9.746 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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] "Error: Could not read variable etaApp in file Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv. Warning: Get data of variable etaApp from file Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv failed! Error: Could not read variable etaOri in file Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv. Warning: Get data of variable etaOri from file Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.30094333179295]