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.001928/0.001928, allocations: 85.48 kB / 19.44 MB, free: 340 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.002114/0.002114, 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.605/1.605, allocations: 177.1 MB / 203.1 MB, free: 5.277 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.357/3.357, 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.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.583e-06/1.583e-06, allocations: 0 / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.071e-05, allocations: 3.25 kB / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00219/0.002221, allocations: 0.8115 MB / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001667/0.002387, allocations: 41.69 kB / 0.8783 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.002455, allocations: 4 kB / 0.8783 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.464e-05/0.0025, allocations: 7.875 kB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.836e-05/0.002598, allocations: 11.86 kB / 0.8783 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.973e-05/0.002658, allocations: 20.55 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.002809, allocations: 64.31 kB / 0.8784 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.002946, allocations: 27.91 kB / 0.8784 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.00307, allocations: 36.56 kB / 0.8785 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.003125, allocations: 24.53 kB / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.00315, allocations: 4 kB / 0.8785 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.003167, allocations: 9.594 kB / 0.8785 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.003208, allocations: 15.92 kB / 0.8785 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.003247, allocations: 19.92 kB / 0.8785 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.0034, allocations: 67.77 kB / 0.8786 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.003404, allocations: 5.828 kB / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003405, allocations: 0 / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003409, allocations: 0 / 0.8786 GB, free: 5.527 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.0005641/0.003974, allocations: 408 kB / 0.879 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.004015, allocations: 14.69 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.004069, allocations: 16.89 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.004306, allocations: 136.4 kB / 0.8791 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.004324, allocations: 8.375 kB / 0.8791 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.004339, allocations: 4.375 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.004528, allocations: 108.3 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.004542, allocations: 4.172 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.004556, allocations: 5.094 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.004561, allocations: 384 / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.578e-05/0.004657, allocations: 41.58 kB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006929/0.00535, allocations: 478.3 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.005441, allocations: 58.12 kB / 0.8798 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.179e-05/0.005493, allocations: 28.84 kB / 0.8798 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.005508, allocations: 4.031 kB / 0.8798 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.00554, allocations: 33.39 kB / 0.8799 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.005542, allocations: 8 kB / 0.8799 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001886/0.00573, allocations: 49.62 kB / 0.8799 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.005795, allocations: 77.11 kB / 0.88 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.005981, allocations: 204.3 kB / 0.8802 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.006001, allocations: 25.7 kB / 0.8802 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.006124, allocations: 154.7 kB / 0.8804 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.00614, allocations: 7.953 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.006182, allocations: 19.38 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002712/0.006454, allocations: 0.4923 MB / 0.8809 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.006477, allocations: 4.25 kB / 0.8809 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.006513, allocations: 27.38 kB / 0.8809 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.777e-05/0.006571, allocations: 39.31 kB / 0.881 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.006573, allocations: 0 / 0.881 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.558e-05/0.006668, allocations: 53.64 kB / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.006684, allocations: 7.938 kB / 0.881 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.006691, allocations: 4 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.006706, allocations: 0 / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.006768, allocations: 4.062 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.006775, allocations: 7.938 kB / 0.881 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.006805, allocations: 7.938 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.006812, allocations: 7.922 kB / 0.881 GB, free: 2.773 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.000124/0.006936, allocations: 160.6 kB / 0.8812 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.006988, allocations: 7.953 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.007017, allocations: 7.469 kB / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.007021, allocations: 4 kB / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007025, allocations: 0 / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.007032, allocations: 3.938 kB / 0.8812 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.007556, allocations: 0.5578 MB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.007559, allocations: 0 / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.472e-05/0.007583, allocations: 4 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.007586, allocations: 0 / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.007595, allocations: 3.938 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007596, allocations: 0 / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.0076, allocations: 4 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.007721, allocations: 92.02 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.007747, allocations: 11.95 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.007763, allocations: 7.922 kB / 0.8819 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.792e-05/0.007781, allocations: 4.094 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.007801, allocations: 0 / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.00781, allocations: 8 kB / 0.8819 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001207/0.00793, allocations: 147.2 kB / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.00793, allocations: 0 / 0.882 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001925/0.008123, allocations: 8 kB / 0.882 GB, free: 1.66 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.0001317/0.008255, allocations: 95.25 kB / 0.8821 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.008358, allocations: 27.61 kB / 0.8822 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.00836, allocations: 128 / 0.8822 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.008383, allocations: 19.69 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.00853, allocations: 4 kB / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.009072, allocations: 178.5 kB / 0.8823 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.189e-05/0.009164, allocations: 83.17 kB / 0.8824 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.346e-05/0.009197, allocations: 8.078 kB / 0.8824 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.009223, allocations: 8.625 kB / 0.8824 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/0.009224, allocations: 4 kB / 0.8824 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.003093/0.01232, allocations: 356 kB / 0.8828 GB, free: 0.8164 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.49732928792946]