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.001399/0.001399, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009637/0.0009637, allocations: 173.3 kB / 23.49 MB, free: 1.062 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 1.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.063/2.063, allocations: 429.5 MB / 0.6736 GB, free: 4.051 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 2.034e-06/2.034e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.481e-05, allocations: 5.031 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001467/0.001492, allocations: 0.8182 MB / 0.879 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.001622, allocations: 39.78 kB / 0.879 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.001678, allocations: 4.656 kB / 0.879 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.00172, allocations: 11.86 kB / 0.8791 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.009e-05/0.001811, allocations: 6.156 kB / 0.8791 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.26e-05/0.001863, allocations: 23.97 kB / 0.8791 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.001972, allocations: 63.78 kB / 0.8791 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.002114, allocations: 31.91 kB / 0.8792 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.002209, allocations: 35.91 kB / 0.8792 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.002253, allocations: 23.22 kB / 0.8792 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.002278, allocations: 8 kB / 0.8792 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-06/0.002287, allocations: 4 kB / 0.8792 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.00231, allocations: 15.92 kB / 0.8793 GB, free: 5.594 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.00234, allocations: 19.92 kB / 0.8793 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.002446, allocations: 39.83 kB / 0.8793 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002448, allocations: 0 / 0.8793 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.22e-07/0.002449, allocations: 0 / 0.8793 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.002454, allocations: 0 / 0.8793 GB, free: 5.535 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.0004188/0.002873, allocations: 413.2 kB / 0.8797 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.00292, allocations: 12.03 kB / 0.8797 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.002973, allocations: 13.95 kB / 0.8797 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.003179, allocations: 140.3 kB / 0.8799 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.003193, allocations: 8.375 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.003208, allocations: 9.438 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.00335, allocations: 87.94 kB / 0.88 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.00336, allocations: 4.125 kB / 0.88 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.003373, allocations: 5.031 kB / 0.88 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.003383, allocations: 5.125 kB / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.003435, allocations: 31.91 kB / 0.88 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.003905, allocations: 457.9 kB / 0.8805 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.524e-05/0.00397, allocations: 62.05 kB / 0.8805 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.004011, allocations: 23.5 kB / 0.8805 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.004019, allocations: 0 / 0.8805 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.004044, allocations: 41.33 kB / 0.8806 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.004046, allocations: 0 / 0.8806 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001483/0.004194, allocations: 46.22 kB / 0.8806 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.004232, allocations: 82.23 kB / 0.8807 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.00434, allocations: 185.8 kB / 0.8809 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.004349, allocations: 25.7 kB / 0.8809 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.004417, allocations: 159.2 kB / 0.881 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.004429, allocations: 11.89 kB / 0.8811 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.004458, allocations: 20.91 kB / 0.8811 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004215/0.004879, allocations: 496.1 kB / 0.8816 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.004894, allocations: 7.984 kB / 0.8816 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.004912, allocations: 19.38 kB / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.988e-05/0.004952, allocations: 35.56 kB / 0.8816 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004954, allocations: 0 / 0.8816 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.86e-05/0.005012, allocations: 53.64 kB / 0.8817 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.005027, allocations: 4 kB / 0.8817 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005032, allocations: 0 / 0.8817 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.005046, allocations: 0 / 0.8817 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.005103, allocations: 11.94 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.005111, allocations: 3.938 kB / 0.8817 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.005125, allocations: 4.062 kB / 0.8817 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.00513, allocations: 4 kB / 0.8817 GB, free: 2.859 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 6.616e-05/0.005196, allocations: 164.5 kB / 0.8818 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.005218, allocations: 7.953 kB / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.005244, allocations: 7.469 kB / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005246, allocations: 0 / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.00525, allocations: 0 / 0.8819 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.005255, allocations: 3.938 kB / 0.8819 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.005542, allocations: 0.5422 MB / 0.8824 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.005545, allocations: 8 kB / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/0.005556, allocations: 4.062 kB / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.00556, allocations: 4 kB / 0.8824 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.005568, allocations: 3.938 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.00557, allocations: 0 / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.005571, allocations: 0 / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.56e-05/0.005637, allocations: 92.02 kB / 0.8825 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.005655, allocations: 7.953 kB / 0.8825 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.005666, allocations: 3.938 kB / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-06/0.005674, allocations: 0 / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.005691, allocations: 7.984 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.005693, allocations: 4.031 kB / 0.8825 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.328e-05/0.005747, allocations: 146.5 kB / 0.8827 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005747, allocations: 0 / 0.8827 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001306/0.005877, allocations: 11.94 kB / 0.8827 GB, free: 1.762 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 8.2e-05/0.005959, allocations: 95.25 kB / 0.8828 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.722e-05/0.006047, allocations: 19.62 kB / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.006048, allocations: 0 / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.006059, allocations: 15.86 kB / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.006177, allocations: 12.06 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.006452, allocations: 166.7 kB / 0.883 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.567e-05/0.006488, allocations: 63.28 kB / 0.883 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.006515, allocations: 12.06 kB / 0.883 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.006539, allocations: 8.5 kB / 0.8831 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of SimCode: time 8.31e-07/0.006539, allocations: 0 / 0.8831 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of Templates: time 0.001903/0.008443, allocations: 340.8 kB / 0.8834 GB, free: 0.9688 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.541595445945859]