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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.766/2.766, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 64.45 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3356, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.002082/0.3377, allocations: 0.5388 MB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3389, allocations: 0.6285 MB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.254e-05/0.3389, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.3389, allocations: 3.938 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.339, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.3395, allocations: 163.5 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.634e-05/0.3396, allocations: 8 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.3396, allocations: 4 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.939e-05/0.3396, allocations: 11.92 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.3397, allocations: 0 / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.3397, allocations: 0 / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.34, allocations: 195.7 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.34, allocations: 3.984 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.34, allocations: 4 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3403, allocations: 123.8 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3403, allocations: 3.938 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3403, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.3403, allocations: 0 / 1.065 GB, free: 12.79 MB / 0.8262 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.0003486/0.3406, allocations: 347.6 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3407, allocations: 15.97 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.3407, allocations: 34.73 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.3408, allocations: 0.9375 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.43e-05/0.3409, allocations: 164.4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.3409, allocations: 4.375 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3409, allocations: 384 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.998e-05/0.341, allocations: 38.25 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.341, allocations: 3.938 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.341, allocations: 4 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.341, allocations: 3.938 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.107e-05/0.3411, allocations: 4 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.3413, allocations: 161.9 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.3414, allocations: 30.61 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.3414, allocations: 12.86 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008846/0.3423, allocations: 0.6844 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3423, allocations: 30.56 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3423, allocations: 0 / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001337/0.3425, allocations: 57.56 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.3425, allocations: 51.41 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.252e-05/0.3425, allocations: 89.86 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3426, allocations: 25.7 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.692e-05/0.3426, allocations: 80.14 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3426, allocations: 19.75 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.3427, allocations: 13.72 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3428, allocations: 318.8 kB / 1.067 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.3428, allocations: 8 kB / 1.067 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.3428, allocations: 13.72 kB / 1.067 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.648e-05/0.3429, allocations: 29.64 kB / 1.067 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3429, allocations: 0 / 1.067 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.194e-05/0.343, allocations: 49.69 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.343, allocations: 5.719 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.343, allocations: 3.938 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.343, allocations: 8.031 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.249e-05/0.3431, allocations: 11.94 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3431, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.3431, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.3431, allocations: 336 / 1.068 GB, free: 10.1 MB / 0.8262 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.152e-05/0.3432, allocations: 107.6 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.3432, allocations: 7.938 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.954e-05/0.3433, allocations: 61.09 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3433, allocations: 4 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3433, allocations: 3.938 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3433, allocations: 0 / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.3435, allocations: 153.7 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3435, allocations: 4 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.3435, allocations: 7.938 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3435, allocations: 0 / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.3435, allocations: 3.938 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3435, allocations: 0 / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3435, allocations: 0 / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.3436, allocations: 81.03 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.3437, allocations: 81.09 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.3437, allocations: 3.938 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.008e-05/0.3437, allocations: 0 / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.3437, allocations: 4.031 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.3437, allocations: 0 / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.235e-05/0.3438, allocations: 75.28 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3438, allocations: 0 / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002489/0.344, allocations: 52.05 kB / 1.068 GB, free: 9.363 MB / 0.8262 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.000576/0.3446, allocations: 0.6794 MB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.998e-05/0.3447, allocations: 19.94 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3447, allocations: 0 / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.3447, allocations: 12.22 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.3449, allocations: 5.531 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.3457, allocations: 1.112 MB / 1.07 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.346, allocations: 0.6806 MB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.346, allocations: 3.938 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.346, allocations: 11.44 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.346, allocations: 0 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.3644, allocations: 2.098 MB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.113, allocations: 9.312 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.csv","/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) Reference file matches