Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.001227/0.001227, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001123/0.001123, allocations: 161.4 kB / 24.16 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.9605/0.9605, 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.884/1.884, allocations: 377.9 MB / 0.624 GB, free: 8.355 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.345e-05, allocations: 5.266 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00144/0.001453, allocations: 0.8192 MB / 0.7608 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000111/0.001564, allocations: 48.69 kB / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.001604, allocations: 0.5 kB / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.001633, allocations: 7.875 kB / 0.7609 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.734e-05/0.0017, allocations: 11.06 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.661e-05/0.001737, allocations: 23.92 kB / 0.7609 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.001825, allocations: 62.52 kB / 0.761 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.001923, allocations: 35.95 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.002011, allocations: 42.72 kB / 0.761 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.002046, allocations: 15.91 kB / 0.7611 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.002063, allocations: 8.938 kB / 0.7611 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-06/0.00207, allocations: 4 kB / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.855e-05/0.002088, allocations: 12.44 kB / 0.7611 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.002111, allocations: 24.78 kB / 0.7611 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.208e-05/0.002183, allocations: 35.84 kB / 0.7611 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002185, allocations: 3.938 kB / 0.7611 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002185, allocations: 5.875 kB / 0.7612 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.002188, allocations: 0 / 0.7612 GB, free: 5.5 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.0002566/0.002445, allocations: 284.5 kB / 0.7614 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.002473, allocations: 8.031 kB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.002496, allocations: 18.61 kB / 0.7615 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.002602, allocations: 125.6 kB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.00261, allocations: 8.375 kB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.00262, allocations: 4.375 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.578e-05/0.002705, allocations: 83.86 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.002711, allocations: 0.6875 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.002719, allocations: 9.562 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.002723, allocations: 384 / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.00275, allocations: 23.92 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.003085, allocations: 0.5017 MB / 0.7622 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.327e-05/0.003148, allocations: 169.9 kB / 0.7623 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.003174, allocations: 80.14 kB / 0.7624 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.003192, allocations: 79.81 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.003225, allocations: 110.8 kB / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.003225, allocations: 0 / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.477e-05/0.00327, allocations: 38.66 kB / 0.7626 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.003313, allocations: 130.7 kB / 0.7628 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.003396, allocations: 145 kB / 0.7629 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.003405, allocations: 26.33 kB / 0.7629 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.003454, allocations: 123.8 kB / 0.763 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.003457, allocations: 9.766 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.003481, allocations: 21.67 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.003555, allocations: 322.8 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.003562, allocations: 7.984 kB / 0.7634 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.00359, allocations: 54.89 kB / 0.7634 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.31e-05/0.003643, allocations: 69.92 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.003645, allocations: 0.9375 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.01e-05/0.003725, allocations: 78.95 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.003735, allocations: 9.812 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.003743, allocations: 4.688 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.003757, allocations: 0.75 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.044e-05/0.003797, allocations: 12 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.003803, allocations: 8.438 kB / 0.7636 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.003826, allocations: 15.92 kB / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.00383, allocations: 6.969 kB / 0.7636 GB, free: 2.738 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.285e-05/0.003893, allocations: 185.1 kB / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.003926, allocations: 105 kB / 0.7639 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.003963, allocations: 120.7 kB / 0.764 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.059e-05/0.004004, allocations: 176.3 kB / 0.7642 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.179e-05/0.004046, allocations: 184.2 kB / 0.7644 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.595e-05/0.004082, allocations: 176.3 kB / 0.7645 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.004211, allocations: 343.7 kB / 0.7649 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/0.004235, allocations: 105 kB / 0.765 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.004259, allocations: 105 kB / 0.7651 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-05/0.004299, allocations: 180.2 kB / 0.7652 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.00434, allocations: 180.3 kB / 0.7654 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-05/0.00438, allocations: 180.2 kB / 0.7656 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.814e-05/0.004418, allocations: 177.7 kB / 0.7658 GB, free: 468 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.674e-05/0.004505, allocations: 311.7 kB / 0.7661 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.004541, allocations: 116.9 kB / 0.7662 GB, free: 8 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.004595, allocations: 188.2 kB / 0.7664 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.00464, allocations: 102.3 kB / 0.7664 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.004683, allocations: 176.3 kB / 0.7666 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.004711, allocations: 113 kB / 0.7667 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.043e-05/0.004731, allocations: 25.98 kB / 0.7667 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004731, allocations: 0 / 0.7667 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001293/0.004861, allocations: 15.95 kB / 0.7668 GB, free: 15.37 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 7.343e-05/0.004934, allocations: 153.4 kB / 0.7669 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.554e-05/0.00498, allocations: 27.55 kB / 0.7669 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.004983, allocations: 4 kB / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.004984, allocations: 0 / 0.7669 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.005162, allocations: 467.6 kB / 0.7674 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.005354, allocations: 231.9 kB / 0.7676 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.005384, allocations: 59.34 kB / 0.7677 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.005411, allocations: 11.52 kB / 0.7677 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.005438, allocations: 55.38 kB / 0.7677 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of SimCode: time 8.02e-07/0.005439, allocations: 0 / 0.7677 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.001557/0.006996, allocations: 330.4 kB / 0.768 GB, free: 14.02 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.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: 4.896401134319603]