Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001629/0.001629, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001743/0.001743, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.226/3.226, allocations: 0.4892 GB / 0.7951 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002137/0.002137, allocations: 64.12 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3339, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002289/0.3362, allocations: 0.7999 MB / 1.327 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001293/0.3363, allocations: 39.78 kB / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.3364, allocations: 0 / 1.327 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.3364, allocations: 11.86 kB / 1.327 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.3365, allocations: 11.88 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.895e-05/0.3365, allocations: 23.92 kB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3367, allocations: 55.91 kB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.3368, allocations: 31.98 kB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.3369, allocations: 35.78 kB / 1.327 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.3369, allocations: 31.72 kB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.337, allocations: 4 kB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.337, allocations: 8 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.337, allocations: 11.94 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.337, allocations: 27.86 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3372, allocations: 75.58 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3372, allocations: 0 / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3372, allocations: 4 kB / 1.327 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.3372, allocations: 0 / 1.327 GB, free: 0.7461 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000504/0.3377, allocations: 306 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3377, allocations: 8.031 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.3378, allocations: 12.89 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.338, allocations: 142.2 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.338, allocations: 4.375 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.338, allocations: 8.375 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3382, allocations: 97.98 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3382, allocations: 192 / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3382, allocations: 11.94 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3382, allocations: 4 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.122e-05/0.3383, allocations: 35.98 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.3388, allocations: 352.4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.94e-05/0.3389, allocations: 37.22 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.3389, allocations: 17.77 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.339, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.339, allocations: 42.59 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.339, allocations: 4 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001714/0.3392, allocations: 53.53 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.3392, allocations: 77.11 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.3394, allocations: 125.8 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3394, allocations: 29.7 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.3395, allocations: 115.9 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-06/0.3395, allocations: 3.953 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.3396, allocations: 21.7 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3397, allocations: 310.8 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.3397, allocations: 8.25 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.3398, allocations: 33.69 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.788e-05/0.3398, allocations: 25.66 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3398, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.884e-05/0.3399, allocations: 53.66 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3399, allocations: 7.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3399, allocations: 3.984 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.34, allocations: 7.938 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.34, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.34, allocations: 8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.3401, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-06/0.3401, allocations: 0 / 1.329 GB, free: 14.6 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 9.054e-05/0.3401, allocations: 117.8 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3402, allocations: 11.89 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.3402, allocations: 11.39 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3402, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3402, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3402, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.3407, allocations: 410.5 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3407, allocations: 3.938 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.3407, allocations: 3.984 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.3407, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.3407, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3407, allocations: 4 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3407, allocations: 0 / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.3408, allocations: 77.89 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.3409, allocations: 15.88 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.3409, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.3409, allocations: 4.062 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.065e-05/0.3409, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.3409, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.959e-05/0.341, allocations: 99.27 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.341, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001874/0.3412, allocations: 8 kB / 1.33 GB, free: 13.75 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.0001207/0.3413, allocations: 103.2 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.919e-05/0.3414, allocations: 19.94 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3414, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.3414, allocations: 12.12 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.3415, allocations: 3.938 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.3419, allocations: 184.5 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.384e-05/0.342, allocations: 85.02 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.342, allocations: 11.44 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.342, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of Templates: time 0.002357/0.3443, allocations: 0.7938 MB / 1.331 GB, free: 12.47 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.039213696029037]