Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001376/0.001376, allocations: 111 kB / 16.46 MB, free: 6.453 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.001507/0.001507, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.476/1.476, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.832/2.832, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",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.00287/0.00287, allocations: 71.89 kB / 1.112 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.836, allocations: 169.9 MB / 1.278 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002268/0.8382, allocations: 0.8767 MB / 1.279 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001548/0.8384, allocations: 63.7 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.8385, allocations: 0 / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.8385, allocations: 7.875 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.6e-05/0.8386, allocations: 11.88 kB / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.772e-05/0.8386, allocations: 27.97 kB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.8388, allocations: 83.75 kB / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.839, allocations: 33.11 kB / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.839, allocations: 39.8 kB / 1.279 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.727e-05/0.8391, allocations: 39.72 kB / 1.279 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.8391, allocations: 12 kB / 1.279 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.8391, allocations: 8 kB / 1.279 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.8392, allocations: 15.94 kB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.8392, allocations: 39.73 kB / 1.279 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.8394, allocations: 101.3 kB / 1.28 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8394, allocations: 0 / 1.28 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8394, allocations: 4 kB / 1.28 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.8394, allocations: 0 / 1.28 GB, free: 12.11 MB / 0.9825 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.0005065/0.8399, allocations: 403.1 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.8399, allocations: 11.97 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.84, allocations: 46.75 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.84, allocations: 12.89 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.8403, allocations: 212.3 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.8403, allocations: 8.562 kB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.8403, allocations: 12.31 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.8405, allocations: 114.3 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.8405, allocations: 0 / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.8405, allocations: 0 / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.8405, allocations: 8 kB / 1.28 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.248e-05/0.8406, allocations: 51.91 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.8412, allocations: 464.5 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.832e-05/0.8412, allocations: 33.22 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.059e-05/0.8413, allocations: 21.78 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.8413, allocations: 3.938 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.8413, allocations: 34.55 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.8413, allocations: 0 / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001837/0.8415, allocations: 53.59 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.8416, allocations: 81.36 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.8418, allocations: 191.1 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.8418, allocations: 25.7 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.8419, allocations: 108.2 kB / 1.281 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.273e-05/0.8419, allocations: 11.89 kB / 1.281 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.8419, allocations: 21.66 kB / 1.281 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.8421, allocations: 318.8 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.8421, allocations: 8 kB / 1.282 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.8422, allocations: 25.69 kB / 1.282 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.8422, allocations: 33.66 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8422, allocations: 0 / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001047/0.8423, allocations: 53.64 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.8423, allocations: 8 kB / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.8423, allocations: 0 / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.8424, allocations: 0 / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.8424, allocations: 12 kB / 1.282 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.8425, allocations: 4 kB / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.8425, allocations: 7.891 kB / 1.282 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.8425, allocations: 8 kB / 1.282 GB, free: 9.473 MB / 0.9825 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 0.0001173/0.8426, allocations: 115.2 kB / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.8427, allocations: 11.91 kB / 1.282 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.8427, allocations: 16.55 kB / 1.282 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.8427, allocations: 0 / 1.282 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8427, allocations: 0 / 1.282 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.8427, allocations: 11.88 kB / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.8432, allocations: 482.7 kB / 1.283 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8432, allocations: 0 / 1.283 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.093e-05/0.8432, allocations: 4 kB / 1.283 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.8432, allocations: 3.938 kB / 1.283 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.8432, allocations: 0 / 1.283 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8432, allocations: 0 / 1.283 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.8432, allocations: 12.06 kB / 1.283 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.8434, allocations: 77.88 kB / 1.283 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.8434, allocations: 93.02 kB / 1.283 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.8435, allocations: 7.922 kB / 1.283 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.8435, allocations: 4 kB / 1.283 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.8435, allocations: 0 / 1.283 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.8435, allocations: 4.031 kB / 1.283 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001304/0.8436, allocations: 132.3 kB / 1.283 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8436, allocations: 0 / 1.283 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001948/0.8438, allocations: 12 kB / 1.283 GB, free: 8.391 MB / 0.9825 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.0005033/0.8443, allocations: 0.621 MB / 1.283 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.698e-05/0.8444, allocations: 15.98 kB / 1.283 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8444, allocations: 4 kB / 1.283 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.8444, allocations: 11.94 kB / 1.283 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.8446, allocations: 4 kB / 1.283 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.8463, allocations: 1.407 MB / 1.285 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.8466, allocations: 0.7039 MB / 1.286 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.712e-05/0.8467, allocations: 8.547 kB / 1.286 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.8467, allocations: 23.44 kB / 1.286 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.8467, allocations: 4 kB / 1.286 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.871, allocations: 1.753 MB / 1.287 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.512/9.383, allocations: 17.61 kB / 1.287 GB, free: 3.77 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.600322906160727]