Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.007398/0.007398, allocations: 101 kB / 15.73 MB, free: 6.059 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.001541/0.001541, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.848/2.848, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 68.08 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8435/0.8454, allocations: 159.1 MB / 1.22 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002094/0.8476, allocations: 0.8778 MB / 1.221 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001384/0.8477, allocations: 59.77 kB / 1.221 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.8478, allocations: 0 / 1.221 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.8478, allocations: 11.81 kB / 1.221 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.751e-05/0.8479, allocations: 11.88 kB / 1.221 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.677e-05/0.848, allocations: 23.97 kB / 1.221 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.8481, allocations: 87.77 kB / 1.221 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.8483, allocations: 49.09 kB / 1.221 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.8484, allocations: 31.8 kB / 1.221 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.8484, allocations: 43.77 kB / 1.221 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.8485, allocations: 8 kB / 1.221 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.921e-05/0.8485, allocations: 8 kB / 1.221 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.8485, allocations: 15.92 kB / 1.221 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.8486, allocations: 39.75 kB / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.8487, allocations: 111.1 kB / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.8487, allocations: 0 / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8487, allocations: 0 / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8488, allocations: 0 / 1.222 GB, free: 0.7539 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004797/0.8492, allocations: 407.2 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.8493, allocations: 8.031 kB / 1.222 GB, free: 304 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.8494, allocations: 42.73 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.8494, allocations: 12.84 kB / 1.222 GB, free: 240 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.8496, allocations: 207 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.8497, allocations: 8.562 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.8497, allocations: 12.31 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.8499, allocations: 109.3 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8499, allocations: 3.984 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.8499, allocations: 4 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.8499, allocations: 4 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.486e-05/0.85, allocations: 43.86 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.8506, allocations: 468.5 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.8507, allocations: 37.09 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.8507, allocations: 25.83 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.8507, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.8508, allocations: 34.56 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.8508, allocations: 0 / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001789/0.8509, allocations: 61.55 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.851, allocations: 77.11 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.8512, allocations: 187.1 kB / 1.223 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.8512, allocations: 25.7 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.8513, allocations: 112.2 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.8513, allocations: 19.89 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.8514, allocations: 13.72 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8515, allocations: 322.8 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.8516, allocations: 8.203 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/0.8516, allocations: 17.72 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.8516, allocations: 29.66 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8516, allocations: 4 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001007/0.8518, allocations: 65.53 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.8518, allocations: 4 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8518, allocations: 4 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.8518, allocations: 0 / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.8519, allocations: 4 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.8519, allocations: 0 / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.8519, allocations: 11.89 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.8519, allocations: 64 / 1.224 GB, free: 14.14 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 9.116e-05/0.852, allocations: 125.8 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.8521, allocations: 11.98 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.8521, allocations: 20.53 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8521, allocations: 0 / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.8521, allocations: 0 / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8521, allocations: 3.938 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.8526, allocations: 478.8 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8526, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.8526, allocations: 4 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.8526, allocations: 7.938 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.8526, allocations: 0 / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8526, allocations: 0 / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8526, allocations: 4 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.331e-05/0.8527, allocations: 85.95 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/0.8528, allocations: 89.05 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.8528, allocations: 3.938 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.8529, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.8529, allocations: 7.938 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.8529, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001171/0.853, allocations: 136.3 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.853, allocations: 0 / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001906/0.8532, allocations: 15.94 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0004418/0.8537, allocations: 0.6133 MB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.629e-05/0.8538, allocations: 23.92 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8538, allocations: 4.156 kB / 1.225 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.8538, allocations: 7.938 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.8539, allocations: 13.66 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.8554, allocations: 1.395 MB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.8557, allocations: 0.7046 MB / 1.227 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.8558, allocations: 12.55 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.8558, allocations: 27.44 kB / 1.227 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.8558, allocations: 0 / 1.227 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.8774, allocations: 1.741 MB / 1.229 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.48, allocations: 15.16 kB / 1.229 GB, free: 8.438 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches