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.001553/0.001553, allocations: 79.34 kB / 19.76 MB, free: 2.035 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.001825/0.001825, allocations: 158.7 kB / 23.01 MB, free: 4.941 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.622/1.622, allocations: 177.2 MB / 203.4 MB, free: 8.977 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.859/2.859, allocations: 377.9 MB / 0.6228 GB, free: 12.62 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_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: 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.002191/0.002191, allocations: 67.89 kB / 0.982 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9349/0.9371, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001788/0.9389, allocations: 0.7864 MB / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001037/0.939, allocations: 40.28 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.939, allocations: 4 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.939, allocations: 7.875 kB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.9391, allocations: 13.91 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.161e-05/0.9392, allocations: 13.94 kB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.9393, allocations: 62.7 kB / 1.155 GB, free: 32.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.9395, allocations: 35.95 kB / 1.155 GB, free: 32.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.9396, allocations: 33.39 kB / 1.155 GB, free: 32.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.9397, allocations: 23.64 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.9397, allocations: 5.281 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.9397, allocations: 5.594 kB / 1.155 GB, free: 32.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.9398, allocations: 18.53 kB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.9398, allocations: 31.28 kB / 1.155 GB, free: 32.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.94, allocations: 78.25 kB / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.94, allocations: 0 / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.974e-06/0.94, allocations: 0 / 1.155 GB, free: 32.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.94, allocations: 0 / 1.155 GB, free: 32.65 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005053/0.9405, allocations: 307.9 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.9405, allocations: 11.69 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.9406, allocations: 7.703 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.9408, allocations: 140.6 kB / 1.155 GB, free: 32.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.9408, allocations: 7.219 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.9408, allocations: 10.16 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.941, allocations: 91.94 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.941, allocations: 192 / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.9411, allocations: 6.875 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.9411, allocations: 0 / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.9412, allocations: 44.7 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.9418, allocations: 349.1 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.9419, allocations: 42.72 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.9419, allocations: 26.16 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.9419, allocations: 0 / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.942, allocations: 33.44 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.942, allocations: 0 / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001887/0.9422, allocations: 56 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.9422, allocations: 79.92 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.9423, allocations: 130.3 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.9423, allocations: 25.7 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.9424, allocations: 108.6 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.9424, allocations: 14.39 kB / 1.156 GB, free: 31.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.9424, allocations: 20.22 kB / 1.156 GB, free: 31.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.9425, allocations: 325.1 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.9425, allocations: 7.062 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.9426, allocations: 22.23 kB / 1.157 GB, free: 30.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.9426, allocations: 21.5 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9426, allocations: 6.562 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.481e-05/0.9427, allocations: 59.08 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.9427, allocations: 9.281 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.9427, allocations: 2.781 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.9427, allocations: 3.938 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.9428, allocations: 5.906 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.9428, allocations: 0 / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.792e-05/0.9428, allocations: 2.875 kB / 1.157 GB, free: 30.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.9428, allocations: 0 / 1.157 GB, free: 30.82 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 7.303e-05/0.9429, allocations: 115.5 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.943, allocations: 9.875 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.943, allocations: 11.48 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.943, allocations: 6.594 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.943, allocations: 3.938 kB / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.943, allocations: 0 / 1.157 GB, free: 30.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.9433, allocations: 410.8 kB / 1.157 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.9433, allocations: 6.531 kB / 1.157 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.9433, allocations: 6.406 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9433, allocations: 0 / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.9433, allocations: 2.938 kB / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9433, allocations: 0 / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9433, allocations: 0 / 1.157 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.623e-05/0.9434, allocations: 76.53 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.9434, allocations: 10.86 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.9435, allocations: 2.906 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.772e-05/0.9435, allocations: 0 / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.9435, allocations: 10.16 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.9435, allocations: 0 / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.421e-05/0.9435, allocations: 97.94 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9435, allocations: 2.406 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001997/0.9437, allocations: 9.125 kB / 1.158 GB, free: 30.07 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 0.0001352/0.9439, allocations: 107 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.944, allocations: 18.34 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.944, allocations: 0 / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.084e-05/0.944, allocations: 6.469 kB / 1.158 GB, free: 29.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.9442, allocations: 12.06 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.9446, allocations: 154.6 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.929e-05/0.9446, allocations: 88.98 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.9447, allocations: 2.625 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.9447, allocations: 11.12 kB / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.9447, allocations: 0 / 1.158 GB, free: 29.72 MB / 1.076 GB Notification: Performance of Templates: time 0.002969/0.9477, allocations: 324.7 kB / 1.158 GB, free: 29.65 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.11610564799048]