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.001458/0.001458, 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.001281/0.001281, 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.9684/0.9684, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.113/2.113, 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_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.593e-06/1.593e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.335e-05, allocations: 3.031 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001425/0.001448, allocations: 0.8267 MB / 0.879 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.001581, allocations: 39.78 kB / 0.879 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.001641, allocations: 4 kB / 0.879 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.914e-05/0.00169, allocations: 11.86 kB / 0.8791 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.783e-05/0.001788, allocations: 7.875 kB / 0.8791 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.535e-05/0.001833, allocations: 19.98 kB / 0.8791 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.001935, allocations: 60.56 kB / 0.8791 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.002074, allocations: 29.61 kB / 0.8792 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.721e-05/0.002172, allocations: 35.92 kB / 0.8792 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.002219, allocations: 23.89 kB / 0.8792 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.002243, allocations: 4 kB / 0.8792 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.002252, allocations: 8.5 kB / 0.8792 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.002275, allocations: 15.92 kB / 0.8793 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.002308, allocations: 17.78 kB / 0.8793 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.002425, allocations: 47.7 kB / 0.8793 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002428, allocations: 4 kB / 0.8793 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.11e-07/0.002429, allocations: 0 / 0.8793 GB, free: 5.484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.002434, allocations: 0 / 0.8793 GB, free: 5.484 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.000433/0.002867, allocations: 409.6 kB / 0.8797 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.002913, allocations: 8.031 kB / 0.8797 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.002963, allocations: 16.89 kB / 0.8797 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.003152, allocations: 142 kB / 0.8799 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.003166, allocations: 8.375 kB / 0.8799 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.003178, allocations: 4.375 kB / 0.8799 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.00331, allocations: 81.61 kB / 0.88 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.00332, allocations: 8.172 kB / 0.88 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.003335, allocations: 8.375 kB / 0.88 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.003344, allocations: 384 / 0.88 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.39e-05/0.003397, allocations: 35.84 kB / 0.88 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.00384, allocations: 454.3 kB / 0.8804 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.003897, allocations: 58.25 kB / 0.8805 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.003931, allocations: 23.5 kB / 0.8805 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.00394, allocations: 4 kB / 0.8805 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.003966, allocations: 37.39 kB / 0.8806 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.003967, allocations: 0 / 0.8806 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/0.004124, allocations: 45.62 kB / 0.8806 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.004166, allocations: 81.11 kB / 0.8807 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.004281, allocations: 192.6 kB / 0.8809 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.004292, allocations: 25.7 kB / 0.8809 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.004363, allocations: 154.7 kB / 0.881 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.677e-06/0.004372, allocations: 15.77 kB / 0.8811 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.004401, allocations: 23.38 kB / 0.8811 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.004527, allocations: 0.4925 MB / 0.8816 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.00454, allocations: 4 kB / 0.8816 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.004562, allocations: 19.38 kB / 0.8816 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/0.004598, allocations: 27.38 kB / 0.8816 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.0046, allocations: 0 / 0.8816 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.106e-05/0.004661, allocations: 57.58 kB / 0.8817 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.00468, allocations: 6.344 kB / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.004691, allocations: 8 kB / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.004711, allocations: 0 / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.249e-05/0.004773, allocations: 8.062 kB / 0.8817 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.004781, allocations: 3.938 kB / 0.8817 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.004797, allocations: 4 kB / 0.8817 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-06/0.004801, allocations: 0 / 0.8817 GB, free: 2.809 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.355e-05/0.004874, allocations: 168.5 kB / 0.8818 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.004895, allocations: 3.953 kB / 0.8819 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.004922, allocations: 7.469 kB / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.004924, allocations: 0 / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.004928, allocations: 0 / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.004933, allocations: 3.938 kB / 0.8819 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.005312, allocations: 0.5539 MB / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005313, allocations: 0 / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.005326, allocations: 4 kB / 0.8824 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.005329, allocations: 0 / 0.8824 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.005336, allocations: 3.938 kB / 0.8824 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005337, allocations: 0 / 0.8824 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.005338, allocations: 0 / 0.8824 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.563e-05/0.005404, allocations: 88.08 kB / 0.8825 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.005419, allocations: 7.953 kB / 0.8825 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.005431, allocations: 8.031 kB / 0.8825 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.005439, allocations: 7.938 kB / 0.8825 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.005456, allocations: 3.984 kB / 0.8825 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-07/0.005457, allocations: 0 / 0.8825 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.005506, allocations: 143.2 kB / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005506, allocations: 0 / 0.8827 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001271/0.005633, allocations: 15.88 kB / 0.8827 GB, free: 1.707 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.056e-05/0.005714, allocations: 91.25 kB / 0.8828 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.422e-05/0.005798, allocations: 27.67 kB / 0.8828 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0058, allocations: 4.125 kB / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-06/0.005809, allocations: 15.62 kB / 0.8828 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.005925, allocations: 4 kB / 0.8828 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.006213, allocations: 166.7 kB / 0.883 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.741e-05/0.00625, allocations: 59.34 kB / 0.883 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.838e-05/0.006279, allocations: 12.06 kB / 0.883 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.006304, allocations: 8.5 kB / 0.883 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of SimCode: time 7.81e-07/0.006304, allocations: 4 kB / 0.8831 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of Templates: time 0.002067/0.008372, allocations: 345 kB / 0.8834 GB, free: 0.9102 MB / 0.8386 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.359730606898665]