Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.000975/0.000975, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009667/0.0009667, allocations: 173 kB / 23.49 MB, free: 1.055 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.9771/0.9771, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.123/2.123, allocations: 429.5 MB / 0.6736 GB, free: 4.023 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.945e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.004865/0.004894, allocations: 0.8237 MB / 0.879 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001248/0.005019, allocations: 40.97 kB / 0.879 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.005072, allocations: 7.938 kB / 0.879 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.005109, allocations: 11.86 kB / 0.8791 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.435e-05/0.005193, allocations: 8.812 kB / 0.8791 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.055e-05/0.005243, allocations: 19.97 kB / 0.8791 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.005348, allocations: 67.78 kB / 0.8791 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.00547, allocations: 24.56 kB / 0.8792 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.046e-05/0.00556, allocations: 40.39 kB / 0.8792 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.094e-05/0.005601, allocations: 23.36 kB / 0.8792 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.005622, allocations: 4 kB / 0.8792 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.005632, allocations: 8 kB / 0.8792 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.005655, allocations: 19.91 kB / 0.8793 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.005685, allocations: 15.94 kB / 0.8793 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.005786, allocations: 39.83 kB / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.00579, allocations: 4 kB / 0.8793 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.183e-06/0.005791, allocations: 0 / 0.8793 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.005795, allocations: 0 / 0.8793 GB, free: 5.496 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.0003954/0.006191, allocations: 408.9 kB / 0.8797 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.006229, allocations: 12.56 kB / 0.8797 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.006273, allocations: 16.89 kB / 0.8797 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.006449, allocations: 137.3 kB / 0.8799 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.006461, allocations: 8.375 kB / 0.8799 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.006472, allocations: 5.156 kB / 0.8799 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.006604, allocations: 88.05 kB / 0.88 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006612, allocations: 1.062 kB / 0.88 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.006626, allocations: 8.375 kB / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.006635, allocations: 4.359 kB / 0.88 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.006685, allocations: 25.45 kB / 0.88 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.00712, allocations: 466.3 kB / 0.8804 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.01018, allocations: 54.12 kB / 0.8805 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.01022, allocations: 20.47 kB / 0.8805 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.01023, allocations: 8.781 kB / 0.8805 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.01025, allocations: 37.39 kB / 0.8806 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.01025, allocations: 4 kB / 0.8806 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001581/0.01041, allocations: 45.62 kB / 0.8806 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.01045, allocations: 77.11 kB / 0.8807 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.01056, allocations: 192.7 kB / 0.8809 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.01057, allocations: 25.7 kB / 0.8809 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.01064, allocations: 158.7 kB / 0.881 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.01065, allocations: 7.891 kB / 0.8811 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.01068, allocations: 23.38 kB / 0.8811 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.0108, allocations: 0.4884 MB / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.382e-05/0.01082, allocations: 256 / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.01084, allocations: 27.38 kB / 0.8816 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.01088, allocations: 31.31 kB / 0.8816 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01088, allocations: 0 / 0.8816 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.794e-05/0.01096, allocations: 57.73 kB / 0.8817 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01097, allocations: 7.938 kB / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01098, allocations: 0 / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.01099, allocations: 7.984 kB / 0.8817 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.01105, allocations: 4 kB / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01106, allocations: 8 kB / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.01108, allocations: 4 kB / 0.8817 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.01109, allocations: 0 / 0.8817 GB, free: 2.82 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.03e-05/0.01116, allocations: 160.5 kB / 0.8818 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.01119, allocations: 7.953 kB / 0.8819 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.01122, allocations: 11.47 kB / 0.8819 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01122, allocations: 0 / 0.8819 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01123, allocations: 0 / 0.8819 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.01123, allocations: 3.938 kB / 0.8819 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.01157, allocations: 0.5461 MB / 0.8824 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01157, allocations: 0 / 0.8824 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.01159, allocations: 4 kB / 0.8824 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01159, allocations: 0 / 0.8824 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.0116, allocations: 3.938 kB / 0.8824 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.0116, allocations: 0 / 0.8824 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0116, allocations: 0 / 0.8824 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.264e-05/0.01167, allocations: 92.02 kB / 0.8825 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.01169, allocations: 11.95 kB / 0.8825 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.01171, allocations: 3.938 kB / 0.8825 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.295e-05/0.01172, allocations: 8.094 kB / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.01174, allocations: 3.984 kB / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.01174, allocations: 0 / 0.8825 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.939e-05/0.0118, allocations: 143.2 kB / 0.8827 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.0118, allocations: 0 / 0.8827 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001937/0.01199, allocations: 11.94 kB / 0.8827 GB, free: 1.727 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.635e-05/0.01209, allocations: 95.25 kB / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.507e-05/0.01217, allocations: 27.61 kB / 0.8828 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01217, allocations: 0 / 0.8828 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.021e-05/0.01218, allocations: 15.81 kB / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.01233, allocations: 0 / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.01262, allocations: 174.6 kB / 0.883 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.01265, allocations: 60.03 kB / 0.883 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.01268, allocations: 7.984 kB / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.0127, allocations: 12.5 kB / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/0.01271, allocations: 0 / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of Templates: time 0.005546/0.01825, allocations: 348.9 kB / 0.8834 GB, free: 0.9258 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.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.437386872945353]