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.00191/0.00191, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002021/0.002021, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.554/1.554, allocations: 177.2 MB / 203.9 MB, free: 5.305 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 3.205/3.205, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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.874e-06/1.874e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.635e-05, allocations: 3.062 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002109/0.002145, allocations: 0.8068 MB / 0.8116 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001188/0.002264, allocations: 35.84 kB / 0.8116 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.002314, allocations: 4.594 kB / 0.8116 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.002349, allocations: 8.797 kB / 0.8117 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.002441, allocations: 15.81 kB / 0.8117 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.599e-05/0.002497, allocations: 19.97 kB / 0.8117 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.002619, allocations: 61.09 kB / 0.8117 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.002755, allocations: 35.91 kB / 0.8118 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.00286, allocations: 39.89 kB / 0.8118 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.522e-05/0.002906, allocations: 17.73 kB / 0.8118 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.002928, allocations: 8 kB / 0.8118 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.002938, allocations: 4 kB / 0.8118 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.002966, allocations: 19.91 kB / 0.8119 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.432e-05/0.003, allocations: 17.09 kB / 0.8119 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.003128, allocations: 75.69 kB / 0.812 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003131, allocations: 0 / 0.812 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003131, allocations: 5.469 kB / 0.812 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003135, allocations: 0 / 0.812 GB, free: 0.9258 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.0005551/0.00369, allocations: 408 kB / 0.8123 GB, free: 500 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.003729, allocations: 12.02 kB / 0.8124 GB, free: 488 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.003782, allocations: 17.83 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.003987, allocations: 136.5 kB / 0.8125 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.004005, allocations: 9.156 kB / 0.8125 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.004017, allocations: 4.375 kB / 0.8125 GB, free: 296 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.004195, allocations: 106.1 kB / 0.8126 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.004205, allocations: 192 / 0.8126 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.004217, allocations: 5.062 kB / 0.8126 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.004225, allocations: 4.375 kB / 0.8126 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.004312, allocations: 41.08 kB / 0.8127 GB, free: 128 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.004965, allocations: 474.4 kB / 0.8131 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.072e-05/0.005055, allocations: 54.72 kB / 0.8132 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.00511, allocations: 32.67 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.005125, allocations: 4 kB / 0.8132 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.005155, allocations: 34.42 kB / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.005156, allocations: 0 / 0.8132 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001911/0.005348, allocations: 54.59 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.005408, allocations: 81.11 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.005598, allocations: 199.7 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.005617, allocations: 25.7 kB / 0.8136 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.005734, allocations: 162.7 kB / 0.8137 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.005741, allocations: 3.953 kB / 0.8137 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.005788, allocations: 31.3 kB / 0.8138 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002608/0.006049, allocations: 498.2 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.006067, allocations: 4 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.497e-05/0.006102, allocations: 31.36 kB / 0.8143 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.35e-05/0.006156, allocations: 31.31 kB / 0.8143 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006158, allocations: 0.6562 kB / 0.8143 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.869e-05/0.006256, allocations: 61.08 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.006273, allocations: 7.984 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006278, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.006293, allocations: 0 / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.006357, allocations: 8 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.006365, allocations: 3.938 kB / 0.8144 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.006418, allocations: 7.891 kB / 0.8144 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.006429, allocations: 4 kB / 0.8144 GB, free: 14.18 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 0.0001337/0.006562, allocations: 161.1 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.006598, allocations: 0.5625 kB / 0.8146 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.006625, allocations: 11.45 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006626, allocations: 1.438 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.00663, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.006636, allocations: 3.938 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.007151, allocations: 0.5583 MB / 0.8151 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.007157, allocations: 8.734 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.007176, allocations: 0 / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.007181, allocations: 5.844 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.00719, allocations: 3.938 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.007194, allocations: 4 kB / 0.8151 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.0072, allocations: 3.938 kB / 0.8151 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.007329, allocations: 80.95 kB / 0.8152 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.007357, allocations: 11.94 kB / 0.8152 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.007372, allocations: 3.938 kB / 0.8152 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.793e-05/0.00739, allocations: 4.938 kB / 0.8152 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.007411, allocations: 0 / 0.8152 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.007413, allocations: 1.344 kB / 0.8152 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001091/0.007522, allocations: 147.2 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007522, allocations: 0 / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001921/0.007714, allocations: 11.95 kB / 0.8154 GB, free: 13.09 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.0001506/0.007865, allocations: 100 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.007971, allocations: 33.28 kB / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007973, allocations: 0 / 0.8155 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.2e-05/0.007995, allocations: 15.28 kB / 0.8155 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.00815, allocations: 8.031 kB / 0.8155 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.008537, allocations: 179.2 kB / 0.8157 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.077e-05/0.008628, allocations: 79.19 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.008667, allocations: 11.97 kB / 0.8158 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.008697, allocations: 9.438 kB / 0.8158 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.008697, allocations: 0 / 0.8158 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.003076/0.01177, allocations: 341.7 kB / 0.8161 GB, free: 12.27 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] 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: 8.38353009603452]