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.001109/0.001109, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001256/0.001256, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8933/0.8933, allocations: 177.1 MB / 203.5 MB, free: 5.688 MB / 186.7 MB " [Timeout remaining time 179] 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 1.759/1.759, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.924e-06/1.924e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.747e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001457/0.001484, allocations: 0.7867 MB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001018/0.001586, allocations: 39.8 kB / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.00163, allocations: 0 / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.001667, allocations: 15.86 kB / 0.983 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.432e-05/0.001741, allocations: 15.81 kB / 0.983 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.658e-05/0.001778, allocations: 15.98 kB / 0.9831 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.694e-05/0.001875, allocations: 63.83 kB / 0.9831 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.002001, allocations: 35.91 kB / 0.9832 GB, free: 1.102 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.002068, allocations: 39.84 kB / 0.9832 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.002121, allocations: 19.91 kB / 0.9832 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.002148, allocations: 4 kB / 0.9832 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.002156, allocations: 8 kB / 0.9832 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.002174, allocations: 11.92 kB / 0.9832 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.002205, allocations: 19.94 kB / 0.9833 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.002312, allocations: 79.69 kB / 0.9833 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002314, allocations: 0 / 0.9833 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002315, allocations: 0 / 0.9833 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.002319, allocations: 0 / 0.9833 GB, free: 0.9219 MB / 0.9323 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.0003717/0.002691, allocations: 302 kB / 0.9836 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.002731, allocations: 12.02 kB / 0.9836 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.002764, allocations: 12.84 kB / 0.9836 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.002938, allocations: 141.6 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.00295, allocations: 8.375 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.002963, allocations: 12.36 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.003089, allocations: 95.89 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.003098, allocations: 192 / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.003109, allocations: 4.375 kB / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003114, allocations: 384 / 0.9839 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.113e-05/0.003175, allocations: 35.92 kB / 0.9839 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003933/0.003569, allocations: 364.4 kB / 0.9843 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.003619, allocations: 33.22 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.003654, allocations: 21.77 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.003661, allocations: 4 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.003682, allocations: 38.59 kB / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.003683, allocations: 0 / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001622/0.003845, allocations: 49.59 kB / 0.9844 GB, free: 15.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.003882, allocations: 77.11 kB / 0.9845 GB, free: 15.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.863e-05/0.003971, allocations: 137.7 kB / 0.9846 GB, free: 15.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.00398, allocations: 25.7 kB / 0.9846 GB, free: 15.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.004038, allocations: 107.9 kB / 0.9847 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.004047, allocations: 8 kB / 0.9848 GB, free: 15.28 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.004076, allocations: 17.92 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/0.00416, allocations: 322.8 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.004176, allocations: 4 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.004197, allocations: 17.72 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.004236, allocations: 29.64 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004238, allocations: 4 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.227e-05/0.0043, allocations: 49.7 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.004314, allocations: 4 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.004319, allocations: 0 / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.004333, allocations: 4.062 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.004392, allocations: 15.92 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.004399, allocations: 3.938 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.004416, allocations: 7.891 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.004421, allocations: 7.938 kB / 0.9852 GB, free: 14.77 MB / 0.948 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 5.903e-05/0.00448, allocations: 113.8 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.225e-05/0.004502, allocations: 0 / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.72e-05/0.00452, allocations: 11.47 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.004522, allocations: 0 / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.004526, allocations: 0 / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.004529, allocations: 7.938 kB / 0.9853 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.005053, allocations: 418.4 kB / 0.9857 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.005055, allocations: 0 / 0.9857 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.005067, allocations: 4 kB / 0.9857 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.00507, allocations: 3.984 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.005078, allocations: 11.88 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.00508, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00508, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.526e-05/0.005136, allocations: 69.94 kB / 0.9858 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.005155, allocations: 20.03 kB / 0.9858 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.005167, allocations: 3.938 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-06/0.005176, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.005191, allocations: 8 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.005193, allocations: 0 / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.462e-05/0.005237, allocations: 102.3 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005237, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001348/0.005372, allocations: 11.95 kB / 0.986 GB, free: 13.93 MB / 0.948 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.291e-05/0.005465, allocations: 102.7 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/0.005543, allocations: 19.92 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.005546, allocations: 4 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.005552, allocations: 4 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.005676, allocations: 9.391 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.005943, allocations: 192.2 kB / 0.9863 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.005989, allocations: 75.33 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.006014, allocations: 12.75 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.006014, allocations: 7.938 kB / 0.9864 GB, free: 13.44 MB / 0.948 GB Notification: Performance of Templates: time 0.001611/0.007625, allocations: 0.7975 MB / 0.9872 GB, free: 12.64 MB / 0.948 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: 6.539454511366785]