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.001734/0.001734, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002156/0.002156, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.159/3.159, allocations: 0.4892 GB / 0.7951 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 69.28 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3246, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002203/0.3268, allocations: 0.7949 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001196/0.3269, allocations: 47.78 kB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.3269, allocations: 0 / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.327, allocations: 7.875 kB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.3271, allocations: 19.86 kB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.637e-05/0.3271, allocations: 11.98 kB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.3272, allocations: 63.84 kB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3274, allocations: 31.98 kB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.742e-05/0.3274, allocations: 31.78 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.3275, allocations: 23.84 kB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.3275, allocations: 8 kB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.3275, allocations: 8 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.3276, allocations: 15.94 kB / 1.327 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.3276, allocations: 27.8 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.3278, allocations: 83.52 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3278, allocations: 0 / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3278, allocations: 0 / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.3278, allocations: 0 / 1.327 GB, free: 0.6562 MB / 1.014 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.0004574/0.3282, allocations: 306 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3283, allocations: 12.03 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.3283, allocations: 8.891 kB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.3285, allocations: 130.4 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.3285, allocations: 8.375 kB / 1.328 GB, free: 148 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3286, allocations: 4.375 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.3287, allocations: 99.8 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3288, allocations: 192 / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3288, allocations: 3.938 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3288, allocations: 7.984 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.3289, allocations: 43.97 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.3294, allocations: 356.4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.3295, allocations: 33.16 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.3296, allocations: 29.86 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.3296, allocations: 4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3296, allocations: 30.56 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3296, allocations: 0 / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002237/0.3298, allocations: 49.58 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.3299, allocations: 77.11 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3301, allocations: 129.8 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3301, allocations: 25.95 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.3302, allocations: 119.9 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.3302, allocations: 11.89 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.3302, allocations: 17.7 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.3304, allocations: 314.8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.3304, allocations: 4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.3305, allocations: 25.7 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.525e-05/0.3305, allocations: 25.66 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3305, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.465e-05/0.3306, allocations: 61.59 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3306, allocations: 6.031 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3306, allocations: 4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3307, allocations: 7.922 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.3307, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3307, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.3308, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.3308, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 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.704e-05/0.3309, allocations: 117.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.3309, allocations: 7.953 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.3309, allocations: 15.47 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3309, allocations: 3.984 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3309, allocations: 4 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3309, allocations: 0 / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.3313, allocations: 406.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3314, allocations: 3.938 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.203e-05/0.3314, allocations: 7.984 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3314, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.3314, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3314, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3314, allocations: 4.062 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.969e-05/0.3315, allocations: 77.89 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.3315, allocations: 15.88 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3315, allocations: 7.938 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.737e-05/0.3315, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.3316, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.3316, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.569e-05/0.3316, allocations: 99.27 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3316, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001924/0.3318, allocations: 11.94 kB / 1.33 GB, free: 13.66 MB / 1.029 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.0001147/0.3319, allocations: 107.2 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.832e-05/0.332, allocations: 19.94 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.332, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.332, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.3322, allocations: 7.938 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.3326, allocations: 188.4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.818e-05/0.3327, allocations: 89.27 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.3327, allocations: 7.438 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3327, allocations: 0 / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of Templates: time 0.00235/0.335, allocations: 0.7935 MB / 1.331 GB, free: 12.38 MB / 1.029 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/jenkins1/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: 10.885033424943686]