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.008828/0.008828, allocations: 103.5 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001954, allocations: 200 kB / 16.68 MB, free: 5.953 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.666/2.666, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 68.09 kB / 1.054 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8509/0.8525, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001693/0.8542, allocations: 0.5324 MB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.8553, allocations: 0.6249 MB / 1.208 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.399e-05/0.8553, allocations: 0 / 1.208 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.8553, allocations: 3.938 kB / 1.208 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/0.8554, allocations: 0 / 1.208 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.8561, allocations: 171.5 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.8562, allocations: 7.984 kB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.8562, allocations: 0 / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.8562, allocations: 11.94 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.25e-05/0.8563, allocations: 7.922 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.8563, allocations: 0 / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003831/0.8567, allocations: 187.8 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.8567, allocations: 3.984 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.8567, allocations: 8 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.857, allocations: 123.8 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.857, allocations: 4 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.857, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.857, allocations: 0 / 1.209 GB, free: 11.86 MB / 0.9356 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.0003492/0.8574, allocations: 347.5 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8574, allocations: 12.03 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.8575, allocations: 34.75 kB / 1.209 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.8575, allocations: 0.9375 kB / 1.209 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.554e-05/0.8576, allocations: 164.4 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.8576, allocations: 384 / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.8576, allocations: 8.375 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.8577, allocations: 38.25 kB / 1.209 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8578, allocations: 3.938 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-06/0.8578, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8578, allocations: 3.984 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.39e-05/0.8578, allocations: 7.938 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.858, allocations: 155.9 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.8581, allocations: 34.58 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.8582, allocations: 12.98 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008737/0.859, allocations: 0.6805 MB / 1.21 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.8591, allocations: 38.5 kB / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.8591, allocations: 0 / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001498/0.8592, allocations: 53.55 kB / 1.21 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.8593, allocations: 55.41 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.144e-05/0.8593, allocations: 89.86 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.8593, allocations: 25.7 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.8594, allocations: 80.14 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.8594, allocations: 15.81 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.8594, allocations: 13.72 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.894e-05/0.8595, allocations: 314.8 kB / 1.211 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.8596, allocations: 3.984 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.8596, allocations: 17.72 kB / 1.211 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.8596, allocations: 25.66 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8596, allocations: 4 kB / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.453e-05/0.8597, allocations: 49.69 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.8598, allocations: 4 kB / 1.211 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.8598, allocations: 7.875 kB / 1.211 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.8598, allocations: 4 kB / 1.211 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.518e-05/0.8598, allocations: 11.92 kB / 1.211 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8598, allocations: 4 kB / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.8599, allocations: 0 / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.8599, allocations: 4 kB / 1.211 GB, free: 9.18 MB / 0.9356 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.915e-05/0.8599, allocations: 113.9 kB / 1.211 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.86, allocations: 0 / 1.211 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.8601, allocations: 57.06 kB / 1.211 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8601, allocations: 384 / 1.211 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.8601, allocations: 3.984 kB / 1.211 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.8601, allocations: 0 / 1.211 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.8602, allocations: 157.6 kB / 1.211 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8602, allocations: 3.984 kB / 1.211 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.8603, allocations: 15.92 kB / 1.211 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8603, allocations: 0 / 1.211 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.8603, allocations: 3.938 kB / 1.211 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8603, allocations: 4 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8603, allocations: 0 / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.8604, allocations: 69.12 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.8605, allocations: 81.05 kB / 1.212 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.8605, allocations: 7.938 kB / 1.212 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.8605, allocations: 3.984 kB / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.8605, allocations: 0 / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.8605, allocations: 8.094 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.643e-05/0.8605, allocations: 75.28 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8606, allocations: 0 / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002562/0.8608, allocations: 43.98 kB / 1.212 GB, free: 8.438 MB / 0.9356 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.0005311/0.8614, allocations: 0.6828 MB / 1.212 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.148e-05/0.8614, allocations: 15.92 kB / 1.212 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8615, allocations: 0 / 1.212 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.8615, allocations: 8 kB / 1.212 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.8616, allocations: 4 kB / 1.212 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.8625, allocations: 1.123 MB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.8627, allocations: 0.6768 MB / 1.214 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.8628, allocations: 3.953 kB / 1.214 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.8628, allocations: 15.44 kB / 1.214 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.8628, allocations: 0 / 1.214 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.8817, allocations: 2.105 MB / 1.216 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.594, allocations: 18.33 kB / 1.216 GB, free: 3.746 MB / 0.9356 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 & /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 --timeout=50 --tolerance=1e-06 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.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) Reference file matches