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.001317/0.001317, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001443/0.001443, allocations: 215.1 kB / 23.01 MB, free: 4.566 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.259/3.259, allocations: 0.49 GB / 0.7958 GB, free: 33.45 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.002049/0.002049, allocations: 75.84 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002115/0.3192, allocations: 0.887 MB / 1.328 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001316/0.3193, allocations: 55.72 kB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.3194, allocations: 4 kB / 1.328 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.3194, allocations: 15.8 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.3195, allocations: 7.875 kB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.143e-05/0.3196, allocations: 27.97 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3197, allocations: 79.77 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3198, allocations: 41.3 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.81e-05/0.3199, allocations: 35.8 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.32, allocations: 39.77 kB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.32, allocations: 8 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.32, allocations: 8 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.32, allocations: 15.94 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.851e-05/0.3201, allocations: 47.67 kB / 1.328 GB, free: 172 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.3202, allocations: 103.5 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3202, allocations: 0 / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3202, allocations: 0 / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3203, allocations: 0 / 1.328 GB, free: 68 kB / 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.0004773/0.3207, allocations: 333.9 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3208, allocations: 12.03 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.3208, allocations: 12.83 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.321, allocations: 145 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.321, allocations: 4.562 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.321, allocations: 12.38 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3212, allocations: 105.4 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3212, allocations: 8 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3212, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3212, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.3213, allocations: 47.91 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.3219, allocations: 435.6 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.322, allocations: 45.16 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.322, allocations: 13.78 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.322, allocations: 0 / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3221, allocations: 34.56 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3221, allocations: 0 / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001675/0.3222, allocations: 61.58 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.3223, allocations: 77.33 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.3225, allocations: 186.7 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3225, allocations: 29.64 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.3226, allocations: 116 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-06/0.3226, allocations: 3.953 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.3226, allocations: 13.72 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3228, allocations: 331 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.421e-05/0.3228, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.3228, allocations: 29.64 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.3229, allocations: 21.72 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3229, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.709e-05/0.3229, allocations: 57.59 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.323, allocations: 18.39 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.323, allocations: 0 / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.323, allocations: 0 / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.323, allocations: 8 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.323, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.3231, allocations: 11.83 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.3231, allocations: 4 kB / 1.331 GB, free: 13.7 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.23e-05/0.3232, allocations: 113.8 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.3232, allocations: 11.91 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.3232, allocations: 20.48 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.3232, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3232, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3233, allocations: 11.88 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.3237, allocations: 441.9 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3237, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.3237, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3237, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3237, allocations: 15.94 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3237, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3237, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.3238, allocations: 77.94 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.3238, allocations: 11.91 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.3239, allocations: 7.938 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.3239, allocations: 4.031 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.3239, allocations: 3.984 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.3239, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001235/0.324, allocations: 140.2 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.324, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001886/0.3242, allocations: 8 kB / 1.331 GB, free: 12.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.0001116/0.3243, allocations: 99.98 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.54e-05/0.3244, allocations: 23.98 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3244, allocations: 0 / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-05/0.3244, allocations: 7.938 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.3246, allocations: 8 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.3249, allocations: 216.1 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.3253, allocations: 0.7004 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.3253, allocations: 15.44 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3253, allocations: 0 / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of Templates: time 0.002578/0.3279, allocations: 0.9847 MB / 1.333 GB, free: 10.62 MB / 1.029 GB " [Timeout remaining time 300] 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/jenkins1/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: 10.946737618010957]