Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.001343/0.001343, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001515/0.001515, allocations: 169 kB / 24.05 MB, free: 452 kB / 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.9686/0.9686, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.143/2.143, allocations: 429.5 MB / 0.6743 GB, free: 3.844 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.8e-05, allocations: 9.734 kB / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.004908/0.004936, allocations: 0.8127 MB / 0.8802 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000134/0.00507, allocations: 44.2 kB / 0.8803 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.005125, allocations: 4 kB / 0.8803 GB, free: 5.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.00516, allocations: 7.875 kB / 0.8803 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.626e-05/0.005256, allocations: 16.84 kB / 0.8803 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.758e-05/0.005304, allocations: 19.92 kB / 0.8803 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.005411, allocations: 59.84 kB / 0.8804 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.005529, allocations: 27.97 kB / 0.8804 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.005647, allocations: 47.83 kB / 0.8804 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.005692, allocations: 20.78 kB / 0.8804 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.005709, allocations: 4 kB / 0.8804 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.005719, allocations: 9.094 kB / 0.8805 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.005739, allocations: 7.938 kB / 0.8805 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.005764, allocations: 15.98 kB / 0.8805 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.165e-05/0.005856, allocations: 36.88 kB / 0.8805 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.005859, allocations: 7.938 kB / 0.8805 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.395e-06/0.005861, allocations: 3.984 kB / 0.8805 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.005865, allocations: 1.062 kB / 0.8805 GB, free: 4.863 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.00038/0.006245, allocations: 416.2 kB / 0.8809 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.006282, allocations: 13.06 kB / 0.8809 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.006316, allocations: 12.89 kB / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.006486, allocations: 132.5 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.006499, allocations: 12 kB / 0.8811 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.006509, allocations: 4.375 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.006625, allocations: 85.53 kB / 0.8812 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.006634, allocations: 4.172 kB / 0.8812 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.006643, allocations: 4.375 kB / 0.8812 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.006651, allocations: 4.375 kB / 0.8812 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.586e-05/0.006687, allocations: 23.91 kB / 0.8812 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.007169, allocations: 0.7264 MB / 0.8819 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.007326, allocations: 265.4 kB / 0.8822 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.007359, allocations: 127.5 kB / 0.8823 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.00739, allocations: 123.8 kB / 0.8824 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.007436, allocations: 152.6 kB / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.593e-06/0.007438, allocations: 0.6875 kB / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.178e-05/0.0075, allocations: 42.5 kB / 0.8826 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.007563, allocations: 174.6 kB / 0.8828 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.007685, allocations: 205.4 kB / 0.883 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.007694, allocations: 27.23 kB / 0.883 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.007773, allocations: 174.5 kB / 0.8832 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.007777, allocations: 3.984 kB / 0.8832 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.007815, allocations: 31.33 kB / 0.8832 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.007948, allocations: 497 kB / 0.8837 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.007963, allocations: 7.984 kB / 0.8837 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.008153, allocations: 74.33 kB / 0.8837 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.099e-05/0.008234, allocations: 97.36 kB / 0.8838 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.008238, allocations: 4 kB / 0.8838 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000133/0.008371, allocations: 81.69 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.008385, allocations: 4 kB / 0.8839 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.008391, allocations: 4 kB / 0.8839 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.008402, allocations: 4 kB / 0.8839 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.008461, allocations: 8 kB / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.008467, allocations: 11.92 kB / 0.8839 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.008504, allocations: 11.89 kB / 0.884 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.00851, allocations: 4 kB / 0.884 GB, free: 1.066 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001078/0.008618, allocations: 283.7 kB / 0.8842 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.008683, allocations: 152.8 kB / 0.8844 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.097e-05/0.008743, allocations: 160.7 kB / 0.8845 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.425e-05/0.008818, allocations: 268.1 kB / 0.8848 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.841e-05/0.008906, allocations: 268 kB / 0.885 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.922e-05/0.008985, allocations: 280 kB / 0.8853 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.009203, allocations: 496.4 kB / 0.8858 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/0.009239, allocations: 144.9 kB / 0.8859 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.009276, allocations: 144.9 kB / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-05/0.009348, allocations: 276 kB / 0.8863 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/0.009417, allocations: 264.1 kB / 0.8866 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.935e-05/0.009487, allocations: 268 kB / 0.8868 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.039e-05/0.009557, allocations: 272.1 kB / 0.8871 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.01, allocations: 455.8 kB / 0.8875 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.01006, allocations: 152.8 kB / 0.8877 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.01014, allocations: 272 kB / 0.8879 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.01021, allocations: 148.8 kB / 0.8881 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.01028, allocations: 268.4 kB / 0.8883 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.01033, allocations: 156.8 kB / 0.8885 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.536e-05/0.01039, allocations: 139.2 kB / 0.8886 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01039, allocations: 0 / 0.8886 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000238/0.01063, allocations: 8 kB / 0.8886 GB, free: 12.11 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001464/0.01077, allocations: 214.4 kB / 0.8888 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.01087, allocations: 39.58 kB / 0.8889 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.01087, allocations: 0 / 0.8889 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.01087, allocations: 0 / 0.8889 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.01125, allocations: 0.71 MB / 0.8896 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.01153, allocations: 273.6 kB / 0.8898 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.01157, allocations: 55.36 kB / 0.8899 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.29e-05/0.01161, allocations: 17.2 kB / 0.8899 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.01165, allocations: 74.2 kB / 0.89 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.01165, allocations: 0 / 0.89 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of Templates: time 0.001962/0.01362, allocations: 335.7 kB / 0.8903 GB, free: 10.33 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.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.347431921865791]