Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001708/0.001708, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002628/0.002628, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.37/3.37, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="cs",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.003051/0.003051, allocations: 61.47 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4355, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002771/0.4383, allocations: 0.8405 MB / 1.346 GB, free: 15.1 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002177/0.4385, allocations: 47.78 kB / 1.346 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.4386, allocations: 4 kB / 1.346 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.91e-05/0.4387, allocations: 15.8 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.4388, allocations: 11.88 kB / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.559e-05/0.4389, allocations: 27.97 kB / 1.346 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.4391, allocations: 79.78 kB / 1.346 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.4392, allocations: 45.02 kB / 1.346 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.4393, allocations: 31.86 kB / 1.346 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.4394, allocations: 35.78 kB / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.4394, allocations: 8 kB / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.618e-05/0.4395, allocations: 8 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.4395, allocations: 19.88 kB / 1.346 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.4395, allocations: 31.8 kB / 1.346 GB, free: 14.74 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.4397, allocations: 107.7 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4397, allocations: 4 kB / 1.347 GB, free: 14.63 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4397, allocations: 4 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4398, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 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.0005621/0.4403, allocations: 326 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4404, allocations: 8.031 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.304e-05/0.4404, allocations: 4.375 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.4404, allocations: 42.75 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.4405, allocations: 12.84 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.4407, allocations: 142.5 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.4407, allocations: 8.562 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.4408, allocations: 19.94 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.4409, allocations: 100.9 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.441, allocations: 3.938 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.441, allocations: 4 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.441, allocations: 7.938 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.4411, allocations: 39.98 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006043/0.4417, allocations: 423.7 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.24e-05/0.4417, allocations: 37.09 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.4418, allocations: 21.84 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.4418, allocations: 4 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.4418, allocations: 34.55 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.4418, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000183/0.442, allocations: 57.55 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.4421, allocations: 84.98 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.4423, allocations: 182.8 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4423, allocations: 25.7 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.266e-05/0.4424, allocations: 112 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.4424, allocations: 3.953 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.4424, allocations: 21.97 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4426, allocations: 322.8 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.4426, allocations: 4 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.4426, allocations: 21.7 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/0.4427, allocations: 25.72 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.4427, allocations: 0 / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.757e-05/0.4428, allocations: 65.53 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4428, allocations: 4 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.4428, allocations: 4.062 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4428, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.4429, allocations: 8 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4429, allocations: 7.922 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.4429, allocations: 7.938 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.4429, allocations: 4 kB / 1.349 GB, free: 12.23 MB / 1.045 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.000104/0.443, allocations: 121.7 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.4431, allocations: 11.91 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.4431, allocations: 16.48 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4431, allocations: 4 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.4431, allocations: 7.938 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4431, allocations: 0 / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.4436, allocations: 437.9 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4436, allocations: 4 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.4436, allocations: 8.047 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4436, allocations: 3.938 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.4436, allocations: 4 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4436, allocations: 0 / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4436, allocations: 4 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.4437, allocations: 81.95 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.4438, allocations: 19.83 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.4438, allocations: 7.938 kB / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.4438, allocations: 0 / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.4438, allocations: 3.984 kB / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.4438, allocations: 0 / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001398/0.444, allocations: 136.8 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.444, allocations: 0 / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002078/0.4442, allocations: 8 kB / 1.35 GB, free: 11.28 MB / 1.045 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.0004858/0.4447, allocations: 0.6211 MB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.4448, allocations: 15.94 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4448, allocations: 4 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.4448, allocations: 3.984 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.445, allocations: 8 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.4466, allocations: 1.414 MB / 1.352 GB, free: 9.082 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.37e-05/0.4467, allocations: 88.53 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.264e-05/0.4467, allocations: 8.5 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.4468, allocations: 31.41 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of SimCode: time 1.563e-06/0.4468, allocations: 0 / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.4706, allocations: 1.921 MB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.81, allocations: 5.141 kB / 1.354 GB, free: 7.164 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.26052465895191]