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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.0103/0.0103, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.002209/0.002209, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.632/2.632, allocations: 469.4 MB / 0.7422 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.89 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7382, allocations: 159.1 MB / 1.22 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001879/0.7401, allocations: 0.5315 MB / 1.22 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.7416, allocations: 0.6327 MB / 1.221 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.7416, allocations: 0 / 1.221 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.7417, allocations: 3.938 kB / 1.221 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-06/0.7417, allocations: 0 / 1.221 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007089/0.7424, allocations: 167.5 kB / 1.221 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.503e-05/0.7425, allocations: 8 kB / 1.221 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.7425, allocations: 7.984 kB / 1.221 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.7425, allocations: 3.938 kB / 1.221 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.848e-05/0.7425, allocations: 3.984 kB / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.7426, allocations: 0 / 1.221 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.7429, allocations: 191.8 kB / 1.221 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.743, allocations: 0 / 1.221 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.743, allocations: 7.984 kB / 1.221 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.7432, allocations: 123.4 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7433, allocations: 0 / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.005e-06/0.7433, allocations: 0 / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.7433, allocations: 7.938 kB / 1.221 GB, free: 0.5664 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.0003409/0.7436, allocations: 355.1 kB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.7437, allocations: 12.62 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.7437, allocations: 30.75 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.7437, allocations: 0.9375 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.503e-05/0.7438, allocations: 160.4 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.7439, allocations: 4.375 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.7439, allocations: 8.312 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.221e-05/0.744, allocations: 34.25 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.744, allocations: 7.938 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.744, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.744, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.156e-05/0.7441, allocations: 15.92 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.7443, allocations: 153.7 kB / 1.222 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.596e-05/0.7444, allocations: 30.52 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.7444, allocations: 12.86 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008884/0.7453, allocations: 0.6844 MB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.7454, allocations: 34.56 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.7454, allocations: 0 / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0001485/0.7455, allocations: 53.56 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.7455, allocations: 51.41 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.614e-05/0.7456, allocations: 89.86 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.7456, allocations: 25.7 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.683e-05/0.7456, allocations: 84.14 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.7457, allocations: 15.89 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.7457, allocations: 17.72 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.7458, allocations: 314.8 kB / 1.223 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.7458, allocations: 0 / 1.223 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.7459, allocations: 25.7 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.453e-05/0.7459, allocations: 25.94 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7459, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.43e-05/0.746, allocations: 49.67 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.746, allocations: 4.031 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.746, allocations: 7.938 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.746, allocations: 4 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.478e-05/0.7461, allocations: 7.938 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.7461, allocations: 3.984 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.7461, allocations: 4 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.7461, allocations: 0 / 1.224 GB, free: 13.88 MB / 0.9512 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.582e-05/0.7462, allocations: 110.4 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.7462, allocations: 4 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.726e-05/0.7463, allocations: 57.11 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7463, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.7463, allocations: 0 / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.7463, allocations: 3.938 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.7465, allocations: 153.6 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7465, allocations: 7.875 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.7465, allocations: 12 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7465, allocations: 0 / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.7465, allocations: 7.938 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7466, allocations: 3.984 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7466, allocations: 0 / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.7467, allocations: 77.08 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.7467, allocations: 77.11 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.7467, allocations: 3.938 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.7467, allocations: 0 / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.7468, allocations: 4.031 kB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.7468, allocations: 7.984 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.385e-05/0.7468, allocations: 75.28 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7468, allocations: 4.062 kB / 1.224 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002727/0.7471, allocations: 39.88 kB / 1.224 GB, free: 13.14 MB / 0.9512 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.000554/0.7477, allocations: 0.6904 MB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.7478, allocations: 19.92 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7478, allocations: 4.125 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.416e-05/0.7478, allocations: 8 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.7479, allocations: 1.719 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009057/0.7488, allocations: 1.119 MB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.7491, allocations: 0.6767 MB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.7491, allocations: 4 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.7492, allocations: 7.438 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.7492, allocations: 0 / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.7697, allocations: 2.12 MB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.481, allocations: 5.828 kB / 1.229 GB, free: 8.441 MB / 0.9512 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