Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.001259/0.001259, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001433/0.001433, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.987/2.987, allocations: 0.49 GB / 0.7923 GB, free: 1.281 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [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.002029/0.002029, allocations: 67.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001931/1.036, allocations: 0.8276 MB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001038/1.036, allocations: 40.25 kB / 1.323 GB, free: 24.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/1.036, allocations: 11.88 kB / 1.323 GB, free: 24.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/1.036, allocations: 7.406 kB / 1.323 GB, free: 24.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/1.036, allocations: 10.94 kB / 1.323 GB, free: 24.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.445e-05/1.036, allocations: 21.56 kB / 1.323 GB, free: 24.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/1.037, allocations: 58.27 kB / 1.323 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/1.037, allocations: 35.42 kB / 1.323 GB, free: 24.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/1.037, allocations: 28.55 kB / 1.323 GB, free: 24.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.581e-05/1.037, allocations: 29.2 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/1.037, allocations: 5.719 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-06/1.037, allocations: 5.906 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/1.037, allocations: 15.42 kB / 1.323 GB, free: 24.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/1.037, allocations: 40.25 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/1.037, allocations: 73.62 kB / 1.323 GB, free: 24.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.037, allocations: 0 / 1.323 GB, free: 24.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.086e-06/1.037, allocations: 3.062 kB / 1.323 GB, free: 24.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.731e-06/1.037, allocations: 0 / 1.323 GB, free: 24.31 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003838/1.037, allocations: 379.4 kB / 1.323 GB, free: 23.92 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/1.037, allocations: 13.14 kB / 1.324 GB, free: 23.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/1.037, allocations: 9.328 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/1.038, allocations: 202.5 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/1.038, allocations: 3.219 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/1.038, allocations: 11.22 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/1.038, allocations: 92.14 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.038, allocations: 192 / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/1.038, allocations: 11.92 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.038, allocations: 2.688 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.914e-05/1.038, allocations: 38.33 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/1.038, allocations: 439.1 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.063e-05/1.038, allocations: 44.12 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/1.038, allocations: 18.88 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/1.038, allocations: 4 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/1.038, allocations: 33.38 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/1.038, allocations: 0 / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001643/1.039, allocations: 67.92 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/1.039, allocations: 77.11 kB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/1.039, allocations: 161 kB / 1.325 GB, free: 22.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/1.039, allocations: 33.7 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/1.039, allocations: 105.2 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/1.039, allocations: 3.953 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/1.039, allocations: 20.62 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.176e-05/1.039, allocations: 321 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/1.039, allocations: 2.844 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/1.039, allocations: 26.77 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/1.039, allocations: 26.53 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.039, allocations: 0 / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.619e-05/1.039, allocations: 62.62 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.039, allocations: 6 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.039, allocations: 7.938 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/1.039, allocations: 3 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/1.039, allocations: 2.812 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/1.039, allocations: 2.562 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/1.039, allocations: 14.58 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/1.039, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 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 5.451e-05/1.039, allocations: 117.8 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/1.039, allocations: 6.141 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/1.039, allocations: 17.53 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.039, allocations: 0 / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.039, allocations: 0 / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/1.039, allocations: 0 / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/1.04, allocations: 471.5 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/1.04, allocations: 0 / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.795e-05/1.04, allocations: 6.297 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.04, allocations: 2.719 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/1.04, allocations: 0 / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.04, allocations: 3.938 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.04, allocations: 0 / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.687e-05/1.04, allocations: 91.11 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/1.04, allocations: 83.94 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/1.04, allocations: 6.625 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.946e-05/1.04, allocations: 0 / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/1.04, allocations: 3.328 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/1.04, allocations: 2.625 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.782e-05/1.04, allocations: 122 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.04, allocations: 4.031 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001793/1.04, allocations: 8.719 kB / 1.326 GB, free: 21.3 MB / 1.061 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.0001078/1.04, allocations: 100.3 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.681e-05/1.04, allocations: 18.67 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.04, allocations: 0 / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.287e-06/1.04, allocations: 6.812 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/1.04, allocations: 14.97 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/1.041, allocations: 195.8 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/1.041, allocations: 0.6921 MB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/1.041, allocations: 13.12 kB / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.041, allocations: 0 / 1.327 GB, free: 20.29 MB / 1.061 GB Notification: Performance of Templates: time 0.002314/1.043, allocations: 0.8643 MB / 1.328 GB, free: 20.22 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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: 11.543948770995485]