Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00196/0.00196, allocations: 113 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.002291/0.002291, 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.675/1.675, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.422/3.422, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [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.002185/0.002185, allocations: 72.83 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4904, allocations: 176.1 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002873/0.4933, allocations: 0.8792 MB / 1.322 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001855/0.4934, allocations: 63.7 kB / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.4935, allocations: 0 / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.041e-05/0.4936, allocations: 7.875 kB / 1.322 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.4937, allocations: 15.88 kB / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.091e-05/0.4938, allocations: 27.97 kB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.4939, allocations: 83.7 kB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.4941, allocations: 37.09 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.254e-05/0.4942, allocations: 39.8 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.4942, allocations: 31.78 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.4943, allocations: 8 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.4943, allocations: 8 kB / 1.322 GB, free: 1.641 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.419e-05/0.4943, allocations: 19.94 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.4944, allocations: 43.67 kB / 1.322 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.4945, allocations: 99.47 kB / 1.323 GB, free: 1.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4945, allocations: 8 kB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4946, allocations: 0 / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.4946, allocations: 0 / 1.323 GB, free: 1.473 MB / 1.014 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.0006119/0.4952, allocations: 403.1 kB / 1.323 GB, free: 1.027 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.4952, allocations: 19.86 kB / 1.323 GB, free: 1.008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.4953, allocations: 12.89 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.4956, allocations: 200.4 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.4956, allocations: 12.5 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.4956, allocations: 4.375 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.4958, allocations: 113.6 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4958, allocations: 0 / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.4958, allocations: 4 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4958, allocations: 4 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.252e-05/0.4959, allocations: 39.98 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006526/0.4966, allocations: 472.4 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.77e-05/0.4967, allocations: 41.2 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.503e-05/0.4967, allocations: 17.72 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-06/0.4967, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.4968, allocations: 34.56 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4968, allocations: 4 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002133/0.497, allocations: 57.8 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.4971, allocations: 81.11 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.4973, allocations: 176 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4973, allocations: 25.7 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4974, allocations: 120 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.4974, allocations: 7.938 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.4974, allocations: 17.97 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4976, allocations: 330.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.4976, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/0.4977, allocations: 21.72 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.124e-05/0.4977, allocations: 25.66 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.4977, allocations: 4 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.795e-05/0.4978, allocations: 69.67 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.4978, allocations: 6.812 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4978, allocations: 0 / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4979, allocations: 3.984 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.4979, allocations: 8 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.4979, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.051e-05/0.498, allocations: 15.81 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.498, allocations: 4 kB / 1.325 GB, free: 14.9 MB / 1.029 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.0001179/0.4981, allocations: 117.9 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.4981, allocations: 11.91 kB / 1.325 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.4982, allocations: 12.56 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.4982, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4982, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4982, allocations: 11.92 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.4987, allocations: 470.8 kB / 1.325 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4987, allocations: 4.062 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.4987, allocations: 4 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4987, allocations: 0 / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.4987, allocations: 11.92 kB / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4987, allocations: 0 / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4987, allocations: 0 / 1.325 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.4989, allocations: 81.84 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.4989, allocations: 93.08 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.499, allocations: 7.938 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.499, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.499, allocations: 0 / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.499, allocations: 3.938 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001293/0.4991, allocations: 143.5 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4991, allocations: 0 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002027/0.4993, allocations: 8 kB / 1.326 GB, free: 13.83 MB / 1.029 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.0001751/0.4995, allocations: 103.2 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.4996, allocations: 19.92 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4996, allocations: 0 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.4996, allocations: 4 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.4998, allocations: 10.06 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.5003, allocations: 198.4 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.5007, allocations: 0.6965 MB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.241e-05/0.5008, allocations: 12.55 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.5008, allocations: 11.44 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.5008, allocations: 0 / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of Templates: time 0.003291/0.5041, allocations: 0.516 MB / 1.327 GB, free: 12.2 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.794616458006203]