Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.00258/0.00258, allocations: 81.5 kB / 19.44 MB, free: 344 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.003218/0.003218, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.613/1.613, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.477/3.477, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.203e-05, allocations: 9.578 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002124/0.002156, allocations: 0.8099 MB / 0.8782 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.002306, allocations: 47.72 kB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.002355, allocations: 0 / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.002389, allocations: 8.969 kB / 0.8783 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.135e-05/0.002481, allocations: 3.938 kB / 0.8783 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.314e-05/0.002534, allocations: 24.62 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.002662, allocations: 63.78 kB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.002798, allocations: 34.03 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.862e-05/0.002897, allocations: 39.91 kB / 0.8785 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.00296, allocations: 15.91 kB / 0.8785 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.002982, allocations: 4 kB / 0.8785 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.002995, allocations: 8 kB / 0.8785 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.003023, allocations: 15.92 kB / 0.8785 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.00307, allocations: 23.27 kB / 0.8785 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.003209, allocations: 75.69 kB / 0.8786 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.003214, allocations: 4 kB / 0.8786 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003215, allocations: 0 / 0.8786 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.003219, allocations: 0 / 0.8786 GB, free: 5.508 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.000947/0.004166, allocations: 407.9 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.004209, allocations: 12.03 kB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.004267, allocations: 16.89 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.0045, allocations: 141.3 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.00452, allocations: 4.375 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.004535, allocations: 9.5 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.004725, allocations: 93.61 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.004734, allocations: 4.188 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.004746, allocations: 1.469 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.004751, allocations: 384 / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.004845, allocations: 43.86 kB / 0.8793 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006939/0.005538, allocations: 479.4 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.917e-05/0.005638, allocations: 58.22 kB / 0.8798 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.005687, allocations: 28.42 kB / 0.8798 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.005698, allocations: 0 / 0.8798 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.005732, allocations: 37.92 kB / 0.8799 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.005733, allocations: 1.031 kB / 0.8799 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002047/0.005938, allocations: 46.27 kB / 0.8799 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.006009, allocations: 81.09 kB / 0.88 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.006206, allocations: 201.8 kB / 0.8802 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.006226, allocations: 25.7 kB / 0.8802 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.006341, allocations: 155.7 kB / 0.8804 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.006356, allocations: 15.94 kB / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.0064, allocations: 19.38 kB / 0.8804 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002695/0.00667, allocations: 497.3 kB / 0.8809 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.216e-05/0.006692, allocations: 7.938 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.006733, allocations: 31.36 kB / 0.8809 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/0.006792, allocations: 32.91 kB / 0.8809 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006793, allocations: 0 / 0.8809 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001099/0.006903, allocations: 58.55 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.00692, allocations: 8 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006924, allocations: 0.75 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.006939, allocations: 0 / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.007003, allocations: 4.656 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.007016, allocations: 7.938 kB / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.007045, allocations: 11.38 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.007049, allocations: 0 / 0.881 GB, free: 2.781 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 0.0001298/0.007179, allocations: 160.6 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.00722, allocations: 7.953 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.007254, allocations: 23.33 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007255, allocations: 0 / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.007259, allocations: 0 / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.007264, allocations: 3.938 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005622/0.007826, allocations: 0.5545 MB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007827, allocations: 384 / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.007848, allocations: 8 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.00785, allocations: 0 / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.007859, allocations: 3.938 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.007863, allocations: 4 kB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007864, allocations: 0 / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.00798, allocations: 88.08 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.008009, allocations: 12.05 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.008025, allocations: 3.938 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.008046, allocations: 3.984 kB / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.008068, allocations: 7.938 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.00807, allocations: 4.031 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001147/0.008185, allocations: 151.2 kB / 0.882 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008185, allocations: 4 kB / 0.882 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001834/0.008368, allocations: 4 kB / 0.882 GB, free: 1.656 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 0.0001303/0.008499, allocations: 95.25 kB / 0.8821 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.638e-05/0.008595, allocations: 23.69 kB / 0.8822 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008596, allocations: 0 / 0.8822 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.773e-05/0.008624, allocations: 23.61 kB / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.008777, allocations: 4.25 kB / 0.8822 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.009152, allocations: 178.6 kB / 0.8824 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.472e-05/0.009237, allocations: 75.19 kB / 0.8824 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.009268, allocations: 7.984 kB / 0.8824 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.009296, allocations: 12.5 kB / 0.8824 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/0.009296, allocations: 0 / 0.8824 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of Templates: time 0.003028/0.01232, allocations: 355.8 kB / 0.8828 GB, free: 0.8203 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.609314664034173]