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.001937/0.001937, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.002155/0.002155, allocations: 159.4 kB / 23.01 MB, free: 4.598 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.566/1.566, allocations: 177.2 MB / 203.4 MB, free: 8.914 MB / 190.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.862/2.862, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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.002428/0.002428, allocations: 63.91 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9912/0.9937, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001875/0.9955, allocations: 0.8216 MB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001392/0.9957, allocations: 55.58 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.9957, allocations: 6.719 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.9958, allocations: 11.06 kB / 1.155 GB, free: 32.76 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.713e-05/0.9959, allocations: 7.875 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.147e-05/0.9959, allocations: 28.05 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.996, allocations: 77.8 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.9962, allocations: 45 kB / 1.155 GB, free: 32.67 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.263e-05/0.9962, allocations: 42.27 kB / 1.155 GB, free: 32.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.9963, allocations: 27.61 kB / 1.155 GB, free: 32.63 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.9963, allocations: 7.969 kB / 1.155 GB, free: 32.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.9963, allocations: 12.44 kB / 1.155 GB, free: 32.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.9964, allocations: 25.66 kB / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.9964, allocations: 30.91 kB / 1.155 GB, free: 32.59 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.9965, allocations: 104.5 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9965, allocations: 0 / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9965, allocations: 3.094 kB / 1.155 GB, free: 32.54 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.9965, allocations: 0 / 1.155 GB, free: 32.54 MB / 1.076 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.0003989/0.9969, allocations: 319.8 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.997, allocations: 12.03 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.997, allocations: 12.11 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.9972, allocations: 145.6 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.9972, allocations: 9.312 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.9972, allocations: 13.73 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.9973, allocations: 113.8 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.9974, allocations: 3.938 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.9974, allocations: 3.312 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9974, allocations: 0 / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.9974, allocations: 42.73 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.9979, allocations: 371.8 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.9979, allocations: 42.61 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.9979, allocations: 24.91 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.998, allocations: 0 / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.998, allocations: 37.12 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.998, allocations: 0 / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/0.9981, allocations: 50.34 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.9982, allocations: 81.05 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.9983, allocations: 140.6 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.9983, allocations: 29.03 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.9983, allocations: 117.5 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.657e-06/0.9983, allocations: 14.77 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.9984, allocations: 12.47 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.9984, allocations: 325 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.9984, allocations: 2.875 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.9984, allocations: 22.59 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.9985, allocations: 23.25 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9985, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.666e-05/0.9985, allocations: 65.84 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.9986, allocations: 9.75 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.9986, allocations: 0 / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9986, allocations: 3.938 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.9986, allocations: 5.625 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.9986, allocations: 0 / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/0.9987, allocations: 2.906 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.9987, allocations: 7.875 kB / 1.157 GB, free: 30.66 MB / 1.076 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.551e-05/0.9987, allocations: 119.3 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.9988, allocations: 6.797 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.9988, allocations: 10.75 kB / 1.157 GB, free: 30.53 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.9988, allocations: 4 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9988, allocations: 2.906 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.9988, allocations: 0 / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.999, allocations: 422.1 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.999, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.9991, allocations: 6.328 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.9991, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.9991, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.9991, allocations: 6.781 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9991, allocations: 0 / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.187e-05/0.9991, allocations: 87.03 kB / 1.158 GB, free: 30.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.9992, allocations: 10.55 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.9992, allocations: 4 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.836e-05/0.9992, allocations: 3.938 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.9992, allocations: 6.484 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.9992, allocations: 0 / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.9992, allocations: 103.5 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9992, allocations: 0 / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001854/0.9994, allocations: 12.42 kB / 1.158 GB, free: 29.91 MB / 1.076 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 8.846e-05/0.9995, allocations: 102.5 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.9996, allocations: 18.78 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9996, allocations: 0 / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.917e-06/0.9996, allocations: 2.594 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.9998, allocations: 8.125 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/1, allocations: 190.9 kB / 1.158 GB, free: 29.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.718e-05/1, allocations: 86.64 kB / 1.158 GB, free: 29.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.827e-05/1, allocations: 6.656 kB / 1.158 GB, free: 29.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/1, allocations: 11.41 kB / 1.158 GB, free: 29.55 MB / 1.076 GB Notification: Performance of SimCode: time 3.6e-07/1, allocations: 0 / 1.158 GB, free: 29.55 MB / 1.076 GB Notification: Performance of Templates: time 0.00249/1.003, allocations: 329.8 kB / 1.159 GB, free: 29.48 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.101377960992977]