Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001082/0.001082, 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.001246/0.001246, allocations: 173 kB / 23.49 MB, free: 1.059 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.028/1.028, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.135/2.135, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.072e-05, allocations: 8.984 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001985/0.002015, allocations: 0.8172 MB / 0.879 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.002158, allocations: 47.72 kB / 0.879 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.002217, allocations: 0.9375 kB / 0.879 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.002254, allocations: 7.875 kB / 0.8791 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.00234, allocations: 11.92 kB / 0.8791 GB, free: 5.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.811e-05/0.002389, allocations: 17.05 kB / 0.8791 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.002499, allocations: 59.84 kB / 0.8791 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.002636, allocations: 37 kB / 0.8792 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.964e-05/0.002726, allocations: 31.91 kB / 0.8792 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.002784, allocations: 23.91 kB / 0.8792 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.002811, allocations: 9.109 kB / 0.8792 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.002821, allocations: 8 kB / 0.8792 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.002843, allocations: 7.938 kB / 0.8792 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.002879, allocations: 24.83 kB / 0.8793 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.002999, allocations: 43.77 kB / 0.8793 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.003004, allocations: 4 kB / 0.8793 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.634e-06/0.003006, allocations: 0.5312 kB / 0.8793 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.003011, allocations: 1.094 kB / 0.8793 GB, free: 5.539 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.0004921/0.003503, allocations: 408.3 kB / 0.8797 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.003546, allocations: 9.094 kB / 0.8797 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.003596, allocations: 16.89 kB / 0.8797 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.003788, allocations: 140.5 kB / 0.8799 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.0038, allocations: 9.656 kB / 0.8799 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.003813, allocations: 8.375 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.003984, allocations: 85.55 kB / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.003992, allocations: 1.281 kB / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.004003, allocations: 4.375 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.00401, allocations: 384 / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.68e-05/0.004067, allocations: 32.52 kB / 0.88 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.0045, allocations: 459.5 kB / 0.8804 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.934e-05/0.00455, allocations: 58.16 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.00458, allocations: 24.05 kB / 0.8805 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.004589, allocations: 4.844 kB / 0.8805 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.004609, allocations: 33.39 kB / 0.8806 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.00461, allocations: 0 / 0.8806 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001362/0.004747, allocations: 49.08 kB / 0.8806 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.004781, allocations: 77.11 kB / 0.8807 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.004892, allocations: 193.3 kB / 0.8809 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.0049, allocations: 25.7 kB / 0.8809 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.144e-05/0.004962, allocations: 154.7 kB / 0.881 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.004972, allocations: 15.88 kB / 0.881 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.005001, allocations: 19.38 kB / 0.8811 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.005105, allocations: 0.489 MB / 0.8815 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.005116, allocations: 0 / 0.8815 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.013e-05/0.005136, allocations: 28.52 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.00517, allocations: 28.91 kB / 0.8816 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005171, allocations: 0 / 0.8816 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.011e-05/0.005232, allocations: 57.58 kB / 0.8817 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.005246, allocations: 4 kB / 0.8817 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.005251, allocations: 8.312 kB / 0.8817 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.005263, allocations: 0 / 0.8817 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.231e-05/0.005315, allocations: 4 kB / 0.8817 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.005322, allocations: 3.938 kB / 0.8817 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.619e-05/0.005338, allocations: 4 kB / 0.8817 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.005344, allocations: 0 / 0.8817 GB, free: 2.883 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.151e-05/0.005415, allocations: 160.6 kB / 0.8818 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.005439, allocations: 3.953 kB / 0.8818 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.005463, allocations: 11.45 kB / 0.8818 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005465, allocations: 0 / 0.8818 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.005469, allocations: 3.938 kB / 0.8818 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.005473, allocations: 11.88 kB / 0.8819 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.005754, allocations: 0.5462 MB / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.005756, allocations: 0 / 0.8824 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.00578, allocations: 11.92 kB / 0.8824 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.005783, allocations: 0 / 0.8824 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.00579, allocations: 3.938 kB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.005793, allocations: 3.984 kB / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.005795, allocations: 0 / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.048e-05/0.005866, allocations: 92.08 kB / 0.8825 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.005882, allocations: 12.05 kB / 0.8825 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.005891, allocations: 3.938 kB / 0.8825 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.005901, allocations: 4 kB / 0.8825 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.005915, allocations: 0 / 0.8825 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.005917, allocations: 3.938 kB / 0.8825 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.005968, allocations: 147.2 kB / 0.8827 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005968, allocations: 0 / 0.8827 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001303/0.006098, allocations: 15.94 kB / 0.8827 GB, free: 1.766 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.406e-05/0.006192, allocations: 95.25 kB / 0.8828 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.118e-05/0.006273, allocations: 19.69 kB / 0.8828 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.006275, allocations: 0 / 0.8828 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.006287, allocations: 15.62 kB / 0.8828 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.006416, allocations: 7.984 kB / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.006702, allocations: 166.7 kB / 0.883 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.006743, allocations: 59.34 kB / 0.883 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.006772, allocations: 4.25 kB / 0.883 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.006797, allocations: 16.5 kB / 0.883 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of SimCode: time 7.21e-07/0.006798, allocations: 0 / 0.883 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of Templates: time 0.002035/0.008832, allocations: 348.8 kB / 0.8834 GB, free: 0.9727 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.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.459256723988801]