Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001034/0.001034, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001034/0.001034, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.974/0.974, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.209/2.209, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.441e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00477/0.004794, allocations: 0.8251 MB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.004917, allocations: 47.47 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.004966, allocations: 4 kB / 0.879 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.981e-05/0.005006, allocations: 15.8 kB / 0.8791 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.147e-05/0.005088, allocations: 7.875 kB / 0.8791 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.999e-05/0.005138, allocations: 15.98 kB / 0.8791 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.005252, allocations: 59.84 kB / 0.8791 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.005384, allocations: 27.97 kB / 0.8792 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.623e-05/0.00548, allocations: 39.84 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.005523, allocations: 23.89 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.005545, allocations: 9.812 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.005555, allocations: 4 kB / 0.8792 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.005576, allocations: 15.94 kB / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.005607, allocations: 19.92 kB / 0.8793 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.005709, allocations: 39.83 kB / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005711, allocations: 1.031 kB / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005712, allocations: 0 / 0.8793 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.005717, allocations: 0 / 0.8793 GB, free: 5.172 MB / 0.8386 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.0004006/0.006117, allocations: 409.9 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.006158, allocations: 12.03 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.006202, allocations: 16.89 kB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.006367, allocations: 138.9 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.00638, allocations: 8.375 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.006395, allocations: 4.375 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.006527, allocations: 96.14 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.006538, allocations: 192 / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.00655, allocations: 4.375 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.00656, allocations: 4.375 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.627e-05/0.006617, allocations: 29.97 kB / 0.88 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.01008, allocations: 458.3 kB / 0.8804 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.723e-05/0.01015, allocations: 58.11 kB / 0.8805 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.01019, allocations: 20.22 kB / 0.8805 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.0102, allocations: 0 / 0.8805 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.01023, allocations: 47.08 kB / 0.8806 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.01023, allocations: 0 / 0.8806 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001717/0.0104, allocations: 37.64 kB / 0.8806 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.01044, allocations: 86.28 kB / 0.8807 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.01055, allocations: 185.4 kB / 0.8808 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.01056, allocations: 29.69 kB / 0.8809 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.01063, allocations: 162.9 kB / 0.881 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.146e-06/0.01064, allocations: 11.89 kB / 0.881 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.01067, allocations: 23.38 kB / 0.8811 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.0108, allocations: 492.1 kB / 0.8815 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.01081, allocations: 7.984 kB / 0.8815 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.01084, allocations: 23.38 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.093e-05/0.01088, allocations: 31.31 kB / 0.8816 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01088, allocations: 0 / 0.8816 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.761e-05/0.01096, allocations: 53.7 kB / 0.8816 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.01097, allocations: 8 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.01098, allocations: 0 / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.011, allocations: 0 / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.01107, allocations: 15.94 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01108, allocations: 3.938 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.0111, allocations: 0 / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.01111, allocations: 4 kB / 0.8817 GB, free: 2.5 MB / 0.8386 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.452e-05/0.01118, allocations: 152.6 kB / 0.8818 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.01122, allocations: 11.94 kB / 0.8818 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.01125, allocations: 7.469 kB / 0.8818 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.01125, allocations: 8 kB / 0.8818 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01125, allocations: 0 / 0.8818 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01126, allocations: 7.875 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.01178, allocations: 0.5421 MB / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01178, allocations: 0 / 0.8824 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.01179, allocations: 4 kB / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.0118, allocations: 0 / 0.8824 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.0118, allocations: 8.031 kB / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01181, allocations: 0 / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01181, allocations: 0 / 0.8824 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.462e-05/0.01188, allocations: 100.1 kB / 0.8825 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.0119, allocations: 11.95 kB / 0.8825 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.01192, allocations: 3.938 kB / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.01193, allocations: 0 / 0.8825 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.01195, allocations: 7.984 kB / 0.8825 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.01196, allocations: 0 / 0.8825 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.609e-05/0.01202, allocations: 143.2 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01202, allocations: 0 / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001965/0.01222, allocations: 11.94 kB / 0.8827 GB, free: 1.398 MB / 0.8386 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.346e-05/0.01231, allocations: 95.28 kB / 0.8828 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.348e-05/0.01241, allocations: 23.62 kB / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01241, allocations: 0 / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.29e-05/0.01242, allocations: 15.67 kB / 0.8828 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.01258, allocations: 4 kB / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.01503, allocations: 177.3 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.223e-05/0.01507, allocations: 59.34 kB / 0.883 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.0151, allocations: 8.234 kB / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.01512, allocations: 12.5 kB / 0.883 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of SimCode: time 6.72e-07/0.01512, allocations: 0 / 0.883 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of Templates: time 0.002087/0.01721, allocations: 351.8 kB / 0.8834 GB, free: 0.5938 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.6990249450318515]