Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.0009807/0.0009807, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001198/0.001198, allocations: 161 kB / 24.17 MB, free: 332 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.9743/0.9743, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.939/1.939, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.207e-05, allocations: 8.031 kB / 0.76 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001479/0.001501, allocations: 0.8253 MB / 0.7608 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.001622, allocations: 48.53 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.001662, allocations: 0.875 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.001694, allocations: 11.86 kB / 0.7609 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.001772, allocations: 13.95 kB / 0.7609 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.145e-05/0.001814, allocations: 16.55 kB / 0.7609 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.328e-05/0.001907, allocations: 62.75 kB / 0.761 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.781e-05/0.002005, allocations: 39.94 kB / 0.761 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.392e-05/0.002099, allocations: 46.97 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.673e-05/0.002136, allocations: 11.97 kB / 0.7611 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.002152, allocations: 5.469 kB / 0.7611 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-06/0.002158, allocations: 4 kB / 0.7611 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.002175, allocations: 11.94 kB / 0.7611 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.002196, allocations: 19.92 kB / 0.7611 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.43e-05/0.00228, allocations: 48.52 kB / 0.7612 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002282, allocations: 0 / 0.7612 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.41e-07/0.002283, allocations: 0.9688 kB / 0.7612 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.002286, allocations: 0 / 0.7612 GB, free: 5.469 MB / 0.7136 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.0002592/0.002545, allocations: 284.5 kB / 0.7614 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.002575, allocations: 13.28 kB / 0.7614 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.002599, allocations: 12.92 kB / 0.7615 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.002708, allocations: 133.6 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.002716, allocations: 5.312 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.002727, allocations: 8.375 kB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.302e-05/0.00281, allocations: 76.97 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.002816, allocations: 192 / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.002824, allocations: 8.359 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.002829, allocations: 1.062 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.578e-05/0.002855, allocations: 23.88 kB / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.00318, allocations: 0.4951 MB / 0.7622 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.674e-05/0.003237, allocations: 169.1 kB / 0.7624 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.376e-05/0.003261, allocations: 88.12 kB / 0.7624 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.003279, allocations: 75.38 kB / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.003311, allocations: 110.7 kB / 0.7626 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.003312, allocations: 0 / 0.7626 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.149e-05/0.003363, allocations: 34.45 kB / 0.7626 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.003404, allocations: 130.7 kB / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.003486, allocations: 144.9 kB / 0.7629 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.003493, allocations: 25.7 kB / 0.7629 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.003543, allocations: 128.4 kB / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.003545, allocations: 0 / 0.7631 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.003571, allocations: 31.84 kB / 0.7631 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.003646, allocations: 322.8 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-06/0.003654, allocations: 4 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.975e-05/0.003684, allocations: 58.78 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.982e-05/0.003743, allocations: 73.78 kB / 0.7635 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.003746, allocations: 0 / 0.7635 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.591e-05/0.003832, allocations: 72.64 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.003844, allocations: 4 kB / 0.7636 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.00385, allocations: 4 kB / 0.7636 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.003861, allocations: 4 kB / 0.7636 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.532e-05/0.003906, allocations: 19.92 kB / 0.7636 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.00391, allocations: 6.75 kB / 0.7636 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.003933, allocations: 7.938 kB / 0.7636 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.003937, allocations: 4 kB / 0.7636 GB, free: 2.719 MB / 0.7136 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.796e-05/0.004005, allocations: 193 kB / 0.7638 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.004039, allocations: 105 kB / 0.7639 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.004072, allocations: 112.8 kB / 0.764 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.829e-05/0.00411, allocations: 184.2 kB / 0.7642 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.538e-05/0.004146, allocations: 177.4 kB / 0.7644 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.094e-05/0.004187, allocations: 184.2 kB / 0.7646 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.004553, allocations: 337.4 kB / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.004573, allocations: 101.9 kB / 0.765 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.004596, allocations: 104.9 kB / 0.7651 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-05/0.004633, allocations: 181.2 kB / 0.7652 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.004684, allocations: 188.2 kB / 0.7654 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-05/0.004718, allocations: 176.3 kB / 0.7656 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.764e-05/0.004756, allocations: 184.9 kB / 0.7658 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.467e-05/0.00484, allocations: 308.4 kB / 0.7661 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.004892, allocations: 120.9 kB / 0.7662 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.004934, allocations: 180.8 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.004976, allocations: 101.3 kB / 0.7664 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.005018, allocations: 187.6 kB / 0.7666 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.005041, allocations: 109 kB / 0.7667 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.005071, allocations: 35.05 kB / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005071, allocations: 0 / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001343/0.005205, allocations: 11.95 kB / 0.7668 GB, free: 15.34 MB / 0.7292 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 9.111e-05/0.005296, allocations: 151.7 kB / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.862e-05/0.005355, allocations: 31.41 kB / 0.767 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.005361, allocations: 4 kB / 0.767 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.005362, allocations: 3.938 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.005547, allocations: 463.6 kB / 0.7674 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.00577, allocations: 228 kB / 0.7676 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.182e-05/0.005802, allocations: 59.97 kB / 0.7677 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.005835, allocations: 6.562 kB / 0.7677 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.005862, allocations: 55.38 kB / 0.7677 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/0.005863, allocations: 2.875 kB / 0.7677 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.001713/0.007575, allocations: 340.1 kB / 0.7681 GB, free: 13.98 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.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.048413798213005]