Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001835/0.001835, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002075/0.002075, allocations: 222.8 kB / 23 MB, free: 4.914 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.722/2.722, allocations: 476 MB / 0.7707 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002106/0.002106, allocations: 68.09 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3106, allocations: 169.9 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002099/0.3127, allocations: 0.8036 MB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001185/0.3128, allocations: 43.78 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.3128, allocations: 4 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.3129, allocations: 7.875 kB / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.313, allocations: 3.938 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.462e-05/0.313, allocations: 19.98 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3131, allocations: 67.77 kB / 1.285 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3133, allocations: 31.97 kB / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.3133, allocations: 19.88 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.3134, allocations: 23.84 kB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3134, allocations: 8 kB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.3134, allocations: 4 kB / 1.285 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.3134, allocations: 15.94 kB / 1.285 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.3135, allocations: 31.8 kB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.3136, allocations: 79.52 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3136, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3136, allocations: 4 kB / 1.285 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3136, allocations: 4 kB / 1.285 GB, free: 10.72 MB / 0.9825 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.0004434/0.314, allocations: 312.1 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3141, allocations: 8.031 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.3141, allocations: 8.891 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.3143, allocations: 134.4 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3143, allocations: 8.375 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.3143, allocations: 4.375 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3145, allocations: 98.5 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3145, allocations: 192 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3146, allocations: 11.94 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3146, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/0.3146, allocations: 39.92 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.3152, allocations: 356.4 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.851e-05/0.3152, allocations: 37.28 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.3153, allocations: 21.84 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.3153, allocations: 0 / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.3153, allocations: 30.56 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.3153, allocations: 4 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001651/0.3155, allocations: 65.39 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.3155, allocations: 81.11 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3157, allocations: 125.8 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3157, allocations: 29.69 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.161e-05/0.3158, allocations: 107.9 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.3158, allocations: 7.953 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.3158, allocations: 13.72 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.316, allocations: 318.8 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.316, allocations: 12.17 kB / 1.287 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.316, allocations: 21.72 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.936e-05/0.3161, allocations: 21.72 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3161, allocations: 0 / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.075e-05/0.3162, allocations: 61.67 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3162, allocations: 8 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.3162, allocations: 3.984 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3162, allocations: 3.938 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.3163, allocations: 8 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3163, allocations: 4.062 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.3163, allocations: 0 / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3163, allocations: 4 kB / 1.287 GB, free: 8.578 MB / 0.9825 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.792e-05/0.3164, allocations: 117.8 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.3165, allocations: 11.94 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.3165, allocations: 15.41 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3165, allocations: 0 / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3165, allocations: 0 / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3165, allocations: 3.938 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.3169, allocations: 410.6 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.3169, allocations: 3.938 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.3169, allocations: 7.938 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3169, allocations: 0 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3169, allocations: 0 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3169, allocations: 7.984 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3169, allocations: 0 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.426e-05/0.317, allocations: 73.94 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.317, allocations: 11.94 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.317, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.3171, allocations: 4 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.3171, allocations: 7.984 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3171, allocations: 4 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.536e-05/0.3172, allocations: 104.6 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3172, allocations: 0 / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001915/0.3173, allocations: 11.95 kB / 1.288 GB, free: 7.723 MB / 0.9825 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.0001044/0.3174, allocations: 99.19 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.049e-05/0.3175, allocations: 12 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3175, allocations: 0 / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.408e-05/0.3175, allocations: 12.06 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.3177, allocations: 15.92 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.318, allocations: 176.5 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.014e-05/0.3181, allocations: 83.14 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.3182, allocations: 11.44 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3182, allocations: 0 / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.002193/0.3203, allocations: 0.7954 MB / 1.289 GB, free: 6.457 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.874241407960653]