Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00097/0.00097, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001035/0.001035, allocations: 177.3 kB / 23.35 MB, free: 1.137 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 0.9736/0.9736, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.405/2.405, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.696e-05, allocations: 5.547 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001266/0.001283, allocations: 0.8178 MB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000121/0.001404, allocations: 51.72 kB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.001446, allocations: 0 / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.00148, allocations: 11.86 kB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-05/0.001557, allocations: 15.81 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.549e-05/0.001592, allocations: 15.98 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.001675, allocations: 59.84 kB / 0.8395 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.001777, allocations: 39.94 kB / 0.8396 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.733e-05/0.001865, allocations: 43.84 kB / 0.8396 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.0019, allocations: 19.91 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.001917, allocations: 4 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.001924, allocations: 4 kB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.001941, allocations: 11.94 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.001966, allocations: 23.92 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.424e-05/0.00204, allocations: 39.77 kB / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.002042, allocations: 0 / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002042, allocations: 0 / 0.8397 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.002045, allocations: 0 / 0.8397 GB, free: 13.06 MB / 0.8073 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.0002518/0.002297, allocations: 284.5 kB / 0.84 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.002329, allocations: 12.62 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.26e-05/0.002352, allocations: 16.92 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.002452, allocations: 129.7 kB / 0.8401 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.00246, allocations: 4.375 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.00247, allocations: 8.375 kB / 0.8401 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.124e-05/0.002551, allocations: 86.12 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.002557, allocations: 192 / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.002564, allocations: 4.375 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.00257, allocations: 8.359 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.002593, allocations: 19.88 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.002902, allocations: 0.4972 MB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.304e-05/0.002955, allocations: 173.1 kB / 0.8409 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.002972, allocations: 80.14 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.00299, allocations: 79.27 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.003017, allocations: 105.8 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.003018, allocations: 3.938 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.372e-05/0.003061, allocations: 41.72 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.003102, allocations: 130.7 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.003181, allocations: 144.5 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.003188, allocations: 25.7 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.003235, allocations: 127.8 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.003237, allocations: 4 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.003263, allocations: 29.66 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.003334, allocations: 326.8 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-06/0.003339, allocations: 4 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.613e-05/0.003366, allocations: 50.86 kB / 0.842 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.003417, allocations: 78.72 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.003419, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.656e-05/0.003495, allocations: 69.48 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.003507, allocations: 8 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.00351, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.003521, allocations: 4.25 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.126e-05/0.003562, allocations: 19.98 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.003576, allocations: 7.938 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.003598, allocations: 11.94 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.003603, allocations: 4 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 6.07e-05/0.003663, allocations: 189.1 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.003697, allocations: 108.9 kB / 0.8425 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.003731, allocations: 112.8 kB / 0.8426 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.478e-05/0.003766, allocations: 180.3 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.598e-05/0.003802, allocations: 180.2 kB / 0.8429 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/0.003837, allocations: 176.3 kB / 0.8431 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.003957, allocations: 345.3 kB / 0.8434 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/0.003979, allocations: 105 kB / 0.8435 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.003998, allocations: 101 kB / 0.8436 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.609e-05/0.004034, allocations: 184.2 kB / 0.8438 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.004069, allocations: 180.2 kB / 0.844 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.401e-05/0.004103, allocations: 180.2 kB / 0.8442 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.535e-05/0.004138, allocations: 184.5 kB / 0.8443 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.292e-05/0.004221, allocations: 315.7 kB / 0.8446 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.0043, allocations: 116.9 kB / 0.8447 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.004344, allocations: 184.2 kB / 0.8449 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.004389, allocations: 101 kB / 0.845 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.00443, allocations: 184.3 kB / 0.8452 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.004451, allocations: 104.9 kB / 0.8453 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.482e-05/0.004476, allocations: 28.81 kB / 0.8453 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004476, allocations: 0 / 0.8453 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001277/0.004604, allocations: 15.95 kB / 0.8453 GB, free: 6.895 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.222e-05/0.004686, allocations: 151.7 kB / 0.8455 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.461e-05/0.004741, allocations: 25.22 kB / 0.8455 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.004744, allocations: 64 / 0.8455 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.004746, allocations: 7.938 kB / 0.8455 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.004929, allocations: 464.7 kB / 0.846 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001851/0.005114, allocations: 224 kB / 0.8462 GB, free: 6 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.783e-05/0.005142, allocations: 59.34 kB / 0.8462 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.00517, allocations: 8.719 kB / 0.8462 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.005196, allocations: 55.38 kB / 0.8463 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of SimCode: time 3.81e-07/0.005197, allocations: 0 / 0.8463 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of Templates: time 0.001698/0.006895, allocations: 340.6 kB / 0.8466 GB, free: 5.523 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.129707244224846]