Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.002007/0.002007, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002342/0.002342, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.634/1.634, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.885/2.885, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.947e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001972/0.002001, allocations: 0.8009 MB / 0.8116 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.002139, allocations: 41.03 kB / 0.8116 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.002191, allocations: 4 kB / 0.8116 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.002233, allocations: 14.02 kB / 0.8117 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.002318, allocations: 11.88 kB / 0.8117 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.226e-05/0.00237, allocations: 15.98 kB / 0.8117 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.002494, allocations: 59.83 kB / 0.8117 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.002618, allocations: 31.97 kB / 0.8118 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.002716, allocations: 36.88 kB / 0.8118 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.93e-05/0.002765, allocations: 19.91 kB / 0.8118 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.00279, allocations: 11.94 kB / 0.8118 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.0028, allocations: 5.125 kB / 0.8118 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.002823, allocations: 15.92 kB / 0.8119 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.002864, allocations: 19.98 kB / 0.8119 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.002992, allocations: 80.97 kB / 0.812 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002994, allocations: 0 / 0.812 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.52e-07/0.002994, allocations: 4 kB / 0.812 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.002998, allocations: 0.6562 kB / 0.812 GB, free: 0.918 MB / 0.7605 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.0004669/0.003465, allocations: 295.3 kB / 0.8122 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.003504, allocations: 12.03 kB / 0.8122 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.00356, allocations: 20.84 kB / 0.8123 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.003771, allocations: 141.5 kB / 0.8124 GB, free: 412 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.003783, allocations: 6.812 kB / 0.8124 GB, free: 408 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.003802, allocations: 8.375 kB / 0.8124 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.003974, allocations: 91.86 kB / 0.8125 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.003983, allocations: 192 / 0.8125 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.003996, allocations: 4.375 kB / 0.8125 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.004001, allocations: 384 / 0.8125 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.004093, allocations: 44.64 kB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.004664, allocations: 357.6 kB / 0.8129 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.434e-05/0.004738, allocations: 41.25 kB / 0.8129 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.004783, allocations: 19.31 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.004789, allocations: 0 / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.004825, allocations: 38.55 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.004826, allocations: 0 / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001932/0.005019, allocations: 55.47 kB / 0.813 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.005078, allocations: 77.11 kB / 0.8131 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.005236, allocations: 136.6 kB / 0.8132 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.005255, allocations: 25.7 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.005346, allocations: 113.4 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.005357, allocations: 7.953 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.005396, allocations: 13.72 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.005572, allocations: 318.8 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.005593, allocations: 9.062 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.153e-05/0.005625, allocations: 21.72 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.005672, allocations: 22.78 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.005676, allocations: 3.984 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.535e-05/0.005771, allocations: 54.55 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.005785, allocations: 4.781 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.00579, allocations: 4 kB / 0.8138 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.005807, allocations: 0.5312 kB / 0.8138 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.005882, allocations: 5.375 kB / 0.8138 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.005893, allocations: 7.922 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.005921, allocations: 7.953 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.005925, allocations: 0 / 0.8138 GB, free: 14.79 MB / 0.7761 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.899e-05/0.006024, allocations: 115 kB / 0.8139 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.006064, allocations: 4 kB / 0.814 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.006083, allocations: 7.562 kB / 0.814 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.006089, allocations: 16.77 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.006093, allocations: 0 / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.006097, allocations: 4.469 kB / 0.814 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.006543, allocations: 415.3 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006545, allocations: 3.938 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.006567, allocations: 4.844 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006568, allocations: 0 / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.006577, allocations: 5.219 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.00658, allocations: 3.984 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.006583, allocations: 4 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.943e-05/0.006683, allocations: 66.75 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.006705, allocations: 7.953 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.006724, allocations: 12.8 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.003e-05/0.006754, allocations: 3.938 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.006769, allocations: 5.5 kB / 0.8145 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.006773, allocations: 4 kB / 0.8145 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001959/0.006969, allocations: 95.27 kB / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006969, allocations: 0 / 0.8146 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002045/0.007174, allocations: 17.05 kB / 0.8146 GB, free: 13.95 MB / 0.7761 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.0001217/0.007296, allocations: 95.25 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.678e-05/0.007372, allocations: 19.23 kB / 0.8147 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.007374, allocations: 0 / 0.8147 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-05/0.00739, allocations: 7.938 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.00759, allocations: 10.41 kB / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.007952, allocations: 158.2 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.008044, allocations: 84.98 kB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.00807, allocations: 0 / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.008107, allocations: 13.59 kB / 0.815 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.008107, allocations: 0 / 0.815 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.002979/0.01109, allocations: 348.6 kB / 0.8153 GB, free: 13.18 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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: 7.970812495914288]