Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001536/0.001536, allocations: 78.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001829/0.001829, allocations: 170.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.962/2.962, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.193e-05/3.424e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001963/0.001997, allocations: 0.7907 MB / 0.9822 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001241/0.002121, allocations: 39.78 kB / 0.9822 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.002174, allocations: 4 kB / 0.9822 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.00222, allocations: 11.86 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.438e-05/0.002304, allocations: 11.88 kB / 0.9823 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.186e-05/0.002356, allocations: 15.98 kB / 0.9823 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.002488, allocations: 63.78 kB / 0.9823 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.002662, allocations: 39.89 kB / 0.9824 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.002752, allocations: 39.84 kB / 0.9824 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.002815, allocations: 15.92 kB / 0.9824 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.002846, allocations: 8 kB / 0.9824 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.002861, allocations: 8 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.002888, allocations: 15.91 kB / 0.9825 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.002925, allocations: 19.94 kB / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.00306, allocations: 71.69 kB / 0.9826 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003063, allocations: 4 kB / 0.9826 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003063, allocations: 0 / 0.9826 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.003067, allocations: 4 kB / 0.9826 GB, free: 10.78 MB / 0.9356 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.000488/0.003555, allocations: 304.1 kB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.0036, allocations: 8.031 kB / 0.9829 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.00364, allocations: 12.84 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.003875, allocations: 133.7 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.003886, allocations: 4.375 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.003909, allocations: 12.38 kB / 0.983 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.004089, allocations: 90.23 kB / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.004098, allocations: 192 / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.004115, allocations: 8.375 kB / 0.9831 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.004122, allocations: 8.359 kB / 0.9831 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.004209, allocations: 39.86 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.004772, allocations: 356.5 kB / 0.9835 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.617e-05/0.004838, allocations: 33.16 kB / 0.9835 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.004882, allocations: 25.88 kB / 0.9836 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-06/0.00489, allocations: 3.938 kB / 0.9836 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.004926, allocations: 34.55 kB / 0.9836 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.004927, allocations: 0 / 0.9836 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001948/0.005122, allocations: 53.59 kB / 0.9836 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.005184, allocations: 81.11 kB / 0.9837 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.005328, allocations: 139.6 kB / 0.9839 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.005347, allocations: 25.7 kB / 0.9839 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.005437, allocations: 107.9 kB / 0.984 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.387e-06/0.005446, allocations: 4 kB / 0.984 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.005488, allocations: 17.67 kB / 0.984 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.00565, allocations: 322.8 kB / 0.9843 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/0.005668, allocations: 4 kB / 0.9843 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-05/0.005693, allocations: 21.97 kB / 0.9843 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.005739, allocations: 33.59 kB / 0.9844 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.005742, allocations: 3.984 kB / 0.9844 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.446e-05/0.005826, allocations: 53.64 kB / 0.9844 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.005846, allocations: 8 kB / 0.9844 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.005851, allocations: 0 / 0.9844 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.00587, allocations: 0 / 0.9844 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.005936, allocations: 4 kB / 0.9844 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.005951, allocations: 11.92 kB / 0.9844 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.005981, allocations: 11.95 kB / 0.9845 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.005985, allocations: 0 / 0.9845 GB, free: 8.633 MB / 0.9356 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 9.665e-05/0.006082, allocations: 113.8 kB / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.996e-05/0.006122, allocations: 4 kB / 0.9846 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.006149, allocations: 11.47 kB / 0.9846 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.00615, allocations: 0 / 0.9846 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.006154, allocations: 0 / 0.9846 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.006159, allocations: 3.938 kB / 0.9846 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.006562, allocations: 414.4 kB / 0.985 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006563, allocations: 64 / 0.985 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.006582, allocations: 8 kB / 0.985 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006584, allocations: 0 / 0.985 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.006593, allocations: 3.938 kB / 0.985 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.006596, allocations: 3.984 kB / 0.985 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006597, allocations: 4 kB / 0.985 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.847e-05/0.006696, allocations: 73.88 kB / 0.9851 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.006714, allocations: 3.953 kB / 0.9851 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.006733, allocations: 11.92 kB / 0.9851 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.683e-05/0.006749, allocations: 0 / 0.9851 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.006769, allocations: 4 kB / 0.9851 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006773, allocations: 8.031 kB / 0.9851 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.875e-05/0.006842, allocations: 97.64 kB / 0.9852 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.006842, allocations: 0 / 0.9852 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001929/0.007035, allocations: 11.95 kB / 0.9852 GB, free: 7.801 MB / 0.9356 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.0001234/0.007158, allocations: 99.02 kB / 0.9853 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.229e-05/0.00725, allocations: 19.92 kB / 0.9853 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.007256, allocations: 4 kB / 0.9853 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.007266, allocations: 4.188 kB / 0.9853 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.007422, allocations: 8.062 kB / 0.9853 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.007778, allocations: 170.5 kB / 0.9855 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.482e-05/0.007853, allocations: 79.31 kB / 0.9856 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.007877, allocations: 0 / 0.9856 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.007905, allocations: 12.5 kB / 0.9856 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.007905, allocations: 7.938 kB / 0.9856 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of Templates: time 0.002798/0.0107, allocations: 336.3 kB / 0.9859 GB, free: 7.012 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.307652026414871]