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.0009938/0.0009938, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.000961/0.000961, allocations: 169 kB / 24.28 MB, free: 272 kB / 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 0.9596/0.9596, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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 1.944/1.944, allocations: 377.8 MB / 0.6239 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 177] 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.343e-06/1.343e-06, allocations: 0 / 0.8115 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.378e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.004741/0.004765, allocations: 0.8272 MB / 0.8123 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001304/0.004895, allocations: 41.38 kB / 0.8124 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.004949, allocations: 0 / 0.8124 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.701e-05/0.004986, allocations: 7.875 kB / 0.8124 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.692e-05/0.005073, allocations: 11.88 kB / 0.8124 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.213e-05/0.005125, allocations: 23.97 kB / 0.8124 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.005231, allocations: 60.77 kB / 0.8125 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.005362, allocations: 23.98 kB / 0.8125 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.798e-05/0.00546, allocations: 40.62 kB / 0.8125 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.005507, allocations: 19.91 kB / 0.8126 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.005533, allocations: 9.688 kB / 0.8126 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.005542, allocations: 4 kB / 0.8126 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.417e-05/0.005566, allocations: 19.92 kB / 0.8126 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.005598, allocations: 19.92 kB / 0.8126 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.005707, allocations: 49.28 kB / 0.8127 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005709, allocations: 0 / 0.8127 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.162e-06/0.00571, allocations: 0 / 0.8127 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.005714, allocations: 0 / 0.8127 GB, free: 0.8867 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.0003968/0.006111, allocations: 406 kB / 0.813 GB, free: 464 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.006152, allocations: 12.03 kB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.006202, allocations: 16.89 kB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.006374, allocations: 128.5 kB / 0.8132 GB, free: 280 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.006389, allocations: 13.08 kB / 0.8132 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.006401, allocations: 4.375 kB / 0.8132 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.006534, allocations: 98.2 kB / 0.8133 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.006542, allocations: 192 / 0.8133 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.006553, allocations: 4.375 kB / 0.8133 GB, free: 148 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.006563, allocations: 4.938 kB / 0.8133 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.586e-05/0.006619, allocations: 37.17 kB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.007063, allocations: 454.4 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.615e-05/0.007119, allocations: 58.16 kB / 0.8138 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.007153, allocations: 22.09 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.007161, allocations: 7.984 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.007186, allocations: 41.38 kB / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.007187, allocations: 0 / 0.8139 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.003167/0.01035, allocations: 42.12 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.0104, allocations: 81.83 kB / 0.814 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.01051, allocations: 189.8 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.01052, allocations: 26.23 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.01059, allocations: 160.3 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-06/0.0106, allocations: 7.891 kB / 0.8144 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.01064, allocations: 23.38 kB / 0.8144 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01077, allocations: 0.4884 MB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.01078, allocations: 4 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.0108, allocations: 19.88 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.01084, allocations: 36.67 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01084, allocations: 0 / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.594e-05/0.01092, allocations: 54.75 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01093, allocations: 4 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01094, allocations: 1.375 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.01095, allocations: 0 / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.265e-05/0.01102, allocations: 11.98 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01102, allocations: 3.938 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.01104, allocations: 0.6562 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.01105, allocations: 4 kB / 0.815 GB, free: 14.22 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 7.303e-05/0.01112, allocations: 153.7 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.01116, allocations: 8 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.01118, allocations: 4.531 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01119, allocations: 4 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01119, allocations: 0 / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.0112, allocations: 12.7 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.01154, allocations: 0.5443 MB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01155, allocations: 4 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.01156, allocations: 3.984 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.01157, allocations: 4 kB / 0.8157 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.01158, allocations: 11.88 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01158, allocations: 0 / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01158, allocations: 2.781 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.166e-05/0.01165, allocations: 80.09 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.01167, allocations: 11.98 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.01168, allocations: 3.938 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.214e-05/0.01169, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.01171, allocations: 4 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.01171, allocations: 0 / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.627e-05/0.01177, allocations: 141.9 kB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01177, allocations: 0 / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001863/0.01195, allocations: 15.89 kB / 0.816 GB, free: 13.14 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 9.758e-05/0.01205, allocations: 95.72 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.512e-05/0.01214, allocations: 29.58 kB / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01214, allocations: 0 / 0.8161 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.01215, allocations: 15.62 kB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.01229, allocations: 5.094 kB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.01258, allocations: 170.7 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.01262, allocations: 60 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.01265, allocations: 4.656 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.01267, allocations: 12.22 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01268, allocations: 0 / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.002165/0.01484, allocations: 347.1 kB / 0.8167 GB, free: 12.36 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.172778997104615]