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.001926/0.001926, allocations: 85.42 kB / 19.18 MB, free: 2.523 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.00232/0.00232, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.512/1.512, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.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.029/3.029, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.899e-05, allocations: 2.281 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002093/0.002122, allocations: 0.8427 MB / 1.001 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001584/0.002281, allocations: 55.7 kB / 1.001 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.002343, allocations: 4 kB / 1.001 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.002387, allocations: 7.875 kB / 1.001 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.002469, allocations: 15.8 kB / 1.001 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 6.385e-05/0.002533, allocations: 23.98 kB / 1.001 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.002696, allocations: 83.77 kB / 1.001 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.002873, allocations: 41.22 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.002977, allocations: 43.89 kB / 1.001 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.003044, allocations: 31.83 kB / 1.001 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.00307, allocations: 8 kB / 1.001 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.003085, allocations: 8 kB / 1.001 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.003109, allocations: 11.94 kB / 1.001 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.003154, allocations: 31.91 kB / 1.001 GB, free: 6.086 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.003368, allocations: 95.59 kB / 1.001 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.003372, allocations: 4 kB / 1.001 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.02e-07/0.003373, allocations: 0 / 1.001 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.003377, allocations: 0 / 1.001 GB, free: 5.988 MB / 0.9512 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.0005615/0.003939, allocations: 330 kB / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.003983, allocations: 8.031 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.00403, allocations: 12.89 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.004288, allocations: 145.7 kB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.004303, allocations: 4.562 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.004321, allocations: 8.375 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.004513, allocations: 108.2 kB / 1.002 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.004523, allocations: 3.938 kB / 1.002 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.004533, allocations: 0 / 1.002 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.004538, allocations: 4 kB / 1.002 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.263e-05/0.004631, allocations: 51.92 kB / 1.002 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.005174, allocations: 376.2 kB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.958e-05/0.005243, allocations: 41.16 kB / 1.002 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.00528, allocations: 13.78 kB / 1.002 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.005287, allocations: 0 / 1.002 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.005324, allocations: 38.56 kB / 1.003 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.005325, allocations: 0 / 1.003 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001766/0.005502, allocations: 53.83 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.005563, allocations: 81.11 kB / 1.003 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.005695, allocations: 133.8 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.005717, allocations: 25.7 kB / 1.003 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.00581, allocations: 128 kB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.00582, allocations: 3.953 kB / 1.003 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.005854, allocations: 17.72 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.006008, allocations: 322.8 kB / 1.003 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.00603, allocations: 11.92 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.006054, allocations: 17.72 kB / 1.003 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.571e-05/0.0061, allocations: 25.72 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006101, allocations: 0 / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.947e-05/0.006191, allocations: 61.58 kB / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.006207, allocations: 8 kB / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006211, allocations: 0 / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.006225, allocations: 0 / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.802e-05/0.006283, allocations: 4 kB / 1.003 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.006288, allocations: 4 kB / 1.003 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.006311, allocations: 0 / 1.003 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.006314, allocations: 4.062 kB / 1.003 GB, free: 3.766 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.41e-05/0.006408, allocations: 117.8 kB / 1.003 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.006459, allocations: 12.25 kB / 1.004 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.006485, allocations: 15.8 kB / 1.004 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.006487, allocations: 3.938 kB / 1.004 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.00649, allocations: 0 / 1.004 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.006498, allocations: 8 kB / 1.004 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.006881, allocations: 418.4 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006882, allocations: 0 / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.006904, allocations: 7.938 kB / 1.004 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.006908, allocations: 8.047 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.006916, allocations: 0 / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.006921, allocations: 4 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006922, allocations: 3.938 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.421e-05/0.007016, allocations: 73.89 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.007046, allocations: 15.94 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.007058, allocations: 0 / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.68e-05/0.007074, allocations: 0 / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.007088, allocations: 4 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.007092, allocations: 3.938 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.638e-05/0.007178, allocations: 109.5 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.007178, allocations: 0 / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001934/0.007372, allocations: 19.83 kB / 1.004 GB, free: 2.883 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.0001255/0.007497, allocations: 103.2 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.43e-05/0.007592, allocations: 16 kB / 1.004 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.007594, allocations: 0 / 1.004 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/0.007617, allocations: 11.94 kB / 1.004 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.007768, allocations: 4.25 kB / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.008156, allocations: 186.5 kB / 1.004 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.008256, allocations: 84.25 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.008284, allocations: 4 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.008318, allocations: 16.48 kB / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.008318, allocations: 4 kB / 1.005 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of Templates: time 0.003053/0.01137, allocations: 336.5 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 800] 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/jenkins/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: 8.65263582766056]