Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 115.6 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.00138, allocations: 194.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.844/2.844, allocations: 437.1 MB / 0.7177 GB, free: 4.566 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 59.91 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3078, allocations: 151.6 MB / 1.176 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002096/0.3099, allocations: 0.8978 MB / 1.177 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000143/0.3101, allocations: 51.72 kB / 1.177 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.3101, allocations: 4 kB / 1.177 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.3102, allocations: 7.875 kB / 1.177 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.388e-05/0.3103, allocations: 15.86 kB / 1.177 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.009e-05/0.3103, allocations: 23.98 kB / 1.177 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3105, allocations: 79.77 kB / 1.177 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3106, allocations: 49.09 kB / 1.177 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.3107, allocations: 39.8 kB / 1.177 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.3107, allocations: 31.78 kB / 1.177 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3108, allocations: 8 kB / 1.177 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.3108, allocations: 8 kB / 1.177 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.3108, allocations: 23.86 kB / 1.177 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.3109, allocations: 39.75 kB / 1.177 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.311, allocations: 103.5 kB / 1.177 GB, free: 4.535 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.311, allocations: 0 / 1.177 GB, free: 4.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.311, allocations: 4 kB / 1.177 GB, free: 4.531 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.311, allocations: 0 / 1.177 GB, free: 4.531 MB / 0.92 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.0004909/0.3115, allocations: 403.1 kB / 1.178 GB, free: 4.086 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3116, allocations: 8.031 kB / 1.178 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.3116, allocations: 16.84 kB / 1.178 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3119, allocations: 200.4 kB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3119, allocations: 4.562 kB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.3119, allocations: 12.31 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3121, allocations: 115.4 kB / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3121, allocations: 0 / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3121, allocations: 4 kB / 1.178 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3121, allocations: 0 / 1.178 GB, free: 3.684 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.134e-05/0.3122, allocations: 47.92 kB / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.3128, allocations: 468.5 kB / 1.178 GB, free: 3.125 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.609e-05/0.3129, allocations: 41.09 kB / 1.178 GB, free: 3.066 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.3129, allocations: 21.84 kB / 1.178 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.3129, allocations: 0 / 1.178 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.313, allocations: 34.5 kB / 1.179 GB, free: 2.996 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.855e-06/0.313, allocations: 7.984 kB / 1.179 GB, free: 2.988 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001714/0.3132, allocations: 57.59 kB / 1.179 GB, free: 2.926 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.3132, allocations: 85.05 kB / 1.179 GB, free: 2.824 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.3134, allocations: 178.7 kB / 1.179 GB, free: 2.637 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3134, allocations: 25.7 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.3135, allocations: 112 kB / 1.179 GB, free: 2.492 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.3135, allocations: 7.953 kB / 1.179 GB, free: 2.484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.3136, allocations: 13.97 kB / 1.179 GB, free: 2.465 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3137, allocations: 330.8 kB / 1.179 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.3137, allocations: 8 kB / 1.179 GB, free: 2.125 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.3138, allocations: 17.72 kB / 1.179 GB, free: 2.102 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.3138, allocations: 25.7 kB / 1.179 GB, free: 2.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3138, allocations: 0 / 1.179 GB, free: 2.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.992e-05/0.3139, allocations: 69.55 kB / 1.179 GB, free: 1.996 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3139, allocations: 4.938 kB / 1.179 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3139, allocations: 0 / 1.179 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3139, allocations: 4 kB / 1.179 GB, free: 1.988 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.314, allocations: 7.984 kB / 1.179 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.314, allocations: 224 / 1.179 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.3141, allocations: 11.88 kB / 1.179 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3141, allocations: 7.875 kB / 1.179 GB, free: 1.961 MB / 0.92 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.349e-05/0.3142, allocations: 114.4 kB / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3142, allocations: 19.97 kB / 1.18 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.984e-05/0.3142, allocations: 12.55 kB / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3143, allocations: 4 kB / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3143, allocations: 0 / 1.18 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3143, allocations: 3.938 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.3147, allocations: 474.8 kB / 1.18 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3147, allocations: 0 / 1.18 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.3147, allocations: 4.062 kB / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3147, allocations: 4 kB / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.3147, allocations: 7.875 kB / 1.18 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3148, allocations: 4 kB / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3148, allocations: 0 / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.844e-05/0.3148, allocations: 85.84 kB / 1.18 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.3149, allocations: 89.05 kB / 1.18 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.3149, allocations: 7.969 kB / 1.18 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.315, allocations: 0 / 1.18 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.306e-05/0.315, allocations: 3.984 kB / 1.18 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.315, allocations: 4 kB / 1.18 GB, free: 1.027 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001147/0.3151, allocations: 140.3 kB / 1.18 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3151, allocations: 0 / 1.18 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001815/0.3153, allocations: 8 kB / 1.18 GB, free: 0.8828 MB / 0.92 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.000114/0.3154, allocations: 99.25 kB / 1.18 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.898e-05/0.3155, allocations: 23.92 kB / 1.18 GB, free: 0.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3155, allocations: 0 / 1.18 GB, free: 0.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.04e-05/0.3155, allocations: 4 kB / 1.181 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.3157, allocations: 8 kB / 1.181 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.316, allocations: 212.2 kB / 1.181 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.3164, allocations: 0.7004 MB / 1.181 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.3164, allocations: 15.44 kB / 1.181 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3164, allocations: 0 / 1.181 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.002559/0.319, allocations: 0.9887 MB / 1.182 GB, free: 14.76 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.214800336048938]