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.001704/0.001704, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002138/0.002138, allocations: 214.1 kB / 22.25 MB, free: 5.133 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 8.012 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.48/3.48, allocations: 0.505 GB / 0.8101 GB, free: 22.1 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_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.003373/0.003373, allocations: 71.16 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4317, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002097/0.4338, allocations: 0.8821 MB / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00015/0.434, allocations: 59.77 kB / 1.354 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.434, allocations: 0 / 1.354 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.983e-05/0.4341, allocations: 15.8 kB / 1.354 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.032e-05/0.4342, allocations: 19.86 kB / 1.354 GB, free: 7.508 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.872e-05/0.4342, allocations: 19.98 kB / 1.354 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.4344, allocations: 79.77 kB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.4345, allocations: 37.28 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.491e-05/0.4346, allocations: 35.81 kB / 1.354 GB, free: 7.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.4347, allocations: 35.72 kB / 1.354 GB, free: 7.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.4347, allocations: 8 kB / 1.354 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.4347, allocations: 8 kB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.4347, allocations: 27.92 kB / 1.354 GB, free: 7.262 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.4348, allocations: 43.72 kB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.4349, allocations: 95.72 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4349, allocations: 4 kB / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4349, allocations: 0 / 1.354 GB, free: 7.121 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4349, allocations: 0 / 1.354 GB, free: 7.121 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.0004798/0.4354, allocations: 326 kB / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4355, allocations: 8.031 kB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.065e-05/0.4355, allocations: 50.73 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.4355, allocations: 20.84 kB / 1.355 GB, free: 6.684 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.4358, allocations: 142.5 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.4358, allocations: 8.562 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.4358, allocations: 8.375 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.436, allocations: 104.6 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.436, allocations: 0 / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.436, allocations: 4 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.436, allocations: 4 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.4361, allocations: 51.91 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.4367, allocations: 423.6 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.493e-05/0.4368, allocations: 41.09 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.4368, allocations: 25.84 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.4368, allocations: 0 / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.4368, allocations: 34.55 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.4368, allocations: 0 / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001823/0.437, allocations: 53.59 kB / 1.355 GB, free: 5.68 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.4371, allocations: 77.11 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.4373, allocations: 198.9 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.4373, allocations: 25.7 kB / 1.356 GB, free: 5.348 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.4373, allocations: 104.1 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.4374, allocations: 7.938 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.4374, allocations: 17.94 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4375, allocations: 326.8 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.4376, allocations: 11.94 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.4376, allocations: 17.7 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.352e-05/0.4376, allocations: 29.72 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4376, allocations: 0 / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.611e-05/0.4377, allocations: 65.53 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4377, allocations: 4 kB / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4378, allocations: 0 / 1.356 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4378, allocations: 7.938 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.4378, allocations: 4 kB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4378, allocations: 4.062 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.4379, allocations: 11.88 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.4379, allocations: 0 / 1.356 GB, free: 4.711 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 8.956e-05/0.438, allocations: 121.8 kB / 1.356 GB, free: 4.582 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.438, allocations: 15.91 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.4381, allocations: 8.484 kB / 1.356 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4381, allocations: 4 kB / 1.356 GB, free: 4.551 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.4381, allocations: 3.938 kB / 1.356 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4381, allocations: 3.938 kB / 1.356 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.4385, allocations: 450 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4385, allocations: 0 / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.4385, allocations: 7.938 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4385, allocations: 3.938 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.4385, allocations: 0 / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.4385, allocations: 4 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4385, allocations: 0 / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.452e-05/0.4386, allocations: 85.95 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.4387, allocations: 11.95 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.4387, allocations: 3.938 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.4387, allocations: 3.984 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.4387, allocations: 4 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.4387, allocations: 96 / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001196/0.4388, allocations: 144.8 kB / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4388, allocations: 0 / 1.357 GB, free: 3.762 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000194/0.439, allocations: 12 kB / 1.357 GB, free: 3.75 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.0004119/0.4394, allocations: 0.6132 MB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.513e-05/0.4395, allocations: 19.92 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4395, allocations: 3.938 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.13e-05/0.4395, allocations: 8 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.4397, allocations: 13.55 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.4415, allocations: 1.41 MB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.4419, allocations: 0.6963 MB / 1.36 GB, free: 0.832 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.933e-05/0.442, allocations: 12.48 kB / 1.36 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.442, allocations: 27.44 kB / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of SimCode: time 8.51e-07/0.442, allocations: 0 / 1.36 GB, free: 0.793 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.4753, allocations: 1.861 MB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.56, allocations: 4.562 kB / 1.362 GB, free: 15.05 MB / 1.061 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: 18.829509923933074]