Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001957/0.001957, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001998/0.001998, allocations: 208 kB / 22.24 MB, free: 5.262 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 7.828 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.358/3.358, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002103/0.002103, allocations: 67.47 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4175, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002127/0.4196, allocations: 0.8442 MB / 1.326 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.4198, allocations: 47.78 kB / 1.326 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.616e-05/0.4198, allocations: 4 kB / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.4199, allocations: 15.8 kB / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.526e-05/0.42, allocations: 11.88 kB / 1.326 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.435e-05/0.42, allocations: 19.98 kB / 1.326 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.4201, allocations: 87.77 kB / 1.327 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.4203, allocations: 41.27 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/0.4204, allocations: 31.8 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.4204, allocations: 31.8 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4204, allocations: 8 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.4204, allocations: 8 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.4205, allocations: 19.86 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.4205, allocations: 35.8 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.4206, allocations: 95.48 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4207, allocations: 4 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4207, allocations: 0 / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4207, allocations: 4 kB / 1.327 GB, free: 0.5664 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.0004498/0.4211, allocations: 326 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4211, allocations: 8.031 kB / 1.327 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.4212, allocations: 12.89 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.4214, allocations: 146.5 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4214, allocations: 8.562 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.4214, allocations: 4.375 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.4216, allocations: 112 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4216, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4217, allocations: 11.94 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.4217, allocations: 4 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.528e-05/0.4218, allocations: 39.98 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.4223, allocations: 376.3 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.684e-05/0.4223, allocations: 37.16 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.4224, allocations: 21.77 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.4224, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.4224, allocations: 38.44 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4224, allocations: 0 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001603/0.4226, allocations: 49.66 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.4226, allocations: 81.05 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4228, allocations: 151.5 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.4228, allocations: 25.7 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.4229, allocations: 116.1 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.4229, allocations: 7.953 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.4229, allocations: 13.72 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.423, allocations: 322.8 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.4231, allocations: 8 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.4231, allocations: 13.97 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.496e-05/0.4231, allocations: 29.72 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4231, allocations: 8.203 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.147e-05/0.4232, allocations: 53.59 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4232, allocations: 7.938 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4232, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4233, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.4233, allocations: 8 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4233, allocations: 3.984 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.4233, allocations: 4.062 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.4234, allocations: 8.031 kB / 1.329 GB, free: 14.33 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 8.807e-05/0.4234, allocations: 121.8 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.4235, allocations: 11.94 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.4235, allocations: 3.812 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.4235, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4235, allocations: 4 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.4235, allocations: 0 / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.4239, allocations: 422.4 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4239, allocations: 64 / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.4239, allocations: 8 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4239, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.4239, allocations: 4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.87e-06/0.4239, allocations: 7.938 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4239, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.151e-05/0.424, allocations: 77.88 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.4241, allocations: 11.95 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.4241, allocations: 0 / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.4241, allocations: 7.938 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.4241, allocations: 0 / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.4241, allocations: 4.031 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.098e-05/0.4242, allocations: 109 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4242, allocations: 3.938 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001935/0.4244, allocations: 15.89 kB / 1.33 GB, free: 13.45 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.0001097/0.4245, allocations: 99.23 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.243e-05/0.4246, allocations: 19.94 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.4246, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.4246, allocations: 12.17 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.4247, allocations: 4.062 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.4251, allocations: 182.5 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.281e-05/0.4252, allocations: 88.12 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.895e-05/0.4252, allocations: 7.984 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.4252, allocations: 11.44 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4252, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Templates: time 0.002761/0.428, allocations: 390.5 kB / 1.33 GB, free: 12.61 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.727647133171558]