Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.001853/0.001853, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.002134/0.002134, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.447/1.447, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.914/2.914, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] 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.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") [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.002124/0.002124, allocations: 67.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9213/0.9235, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002037/0.9255, allocations: 0.8226 MB / 1.323 GB, free: 24.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001098/0.9256, allocations: 45 kB / 1.323 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.9257, allocations: 2.625 kB / 1.323 GB, free: 24.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.412e-05/0.9257, allocations: 7.219 kB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.9258, allocations: 7.875 kB / 1.323 GB, free: 24.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.983e-05/0.9258, allocations: 24.33 kB / 1.323 GB, free: 24.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.926, allocations: 59.61 kB / 1.323 GB, free: 24.38 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.9261, allocations: 32.47 kB / 1.323 GB, free: 24.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.9262, allocations: 29.89 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.9262, allocations: 32.53 kB / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.9262, allocations: 5.188 kB / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.946e-06/0.9262, allocations: 5.031 kB / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.9263, allocations: 14.23 kB / 1.323 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.9263, allocations: 39.72 kB / 1.323 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.9264, allocations: 78.23 kB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9264, allocations: 0 / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9264, allocations: 0 / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.9264, allocations: 0 / 1.323 GB, free: 24.26 MB / 1.061 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.0003689/0.9268, allocations: 389.6 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.9268, allocations: 15.12 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.9269, allocations: 10.48 kB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.927, allocations: 190.4 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.927, allocations: 3.344 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.927, allocations: 10.28 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.9272, allocations: 93.59 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.9272, allocations: 192 / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.9272, allocations: 10.97 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9272, allocations: 3.984 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.975e-05/0.9273, allocations: 41.97 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.9277, allocations: 433.5 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.723e-05/0.9277, allocations: 46.47 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.9278, allocations: 19.28 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.9278, allocations: 0 / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.9278, allocations: 34.56 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.9278, allocations: 0 / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001711/0.928, allocations: 66.27 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.928, allocations: 84.3 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.9281, allocations: 165.1 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/0.9281, allocations: 25.7 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.9282, allocations: 105.1 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-06/0.9282, allocations: 3.953 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.9282, allocations: 16.44 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.9282, allocations: 320.8 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/0.9283, allocations: 3.188 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.9283, allocations: 30.72 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.9283, allocations: 22.06 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9283, allocations: 0 / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.06e-05/0.9284, allocations: 61.7 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.9284, allocations: 5.281 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9284, allocations: 6.688 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.9284, allocations: 4.062 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.9285, allocations: 5.25 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.9285, allocations: 0 / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.9285, allocations: 10.45 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.9285, allocations: 2.594 kB / 1.325 GB, free: 22.16 MB / 1.061 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 4.925e-05/0.9286, allocations: 115.7 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.9286, allocations: 13.14 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.9286, allocations: 14.41 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.9286, allocations: 0 / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.9286, allocations: 4 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9286, allocations: 2.562 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.9289, allocations: 465.7 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9289, allocations: 2.875 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.695e-05/0.9289, allocations: 2.75 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9289, allocations: 7.875 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.9289, allocations: 3.328 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.9289, allocations: 6.781 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9289, allocations: 0 / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.011e-05/0.929, allocations: 82.5 kB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.929, allocations: 86.78 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.929, allocations: 6.562 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.929, allocations: 0 / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.9291, allocations: 4.031 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.9291, allocations: 10.34 kB / 1.326 GB, free: 21.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.324e-05/0.9291, allocations: 118.9 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9291, allocations: 0 / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001849/0.9293, allocations: 5.719 kB / 1.326 GB, free: 21.24 MB / 1.061 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.000101/0.9294, allocations: 102.7 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.983e-05/0.9295, allocations: 15.53 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.9295, allocations: 4.125 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.9295, allocations: 9.562 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.9297, allocations: 14.66 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.9299, allocations: 187.7 kB / 1.327 GB, free: 20.95 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.93, allocations: 0.6922 MB / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.9301, allocations: 17.22 kB / 1.327 GB, free: 20.24 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.9301, allocations: 0 / 1.327 GB, free: 20.24 MB / 1.061 GB Notification: Performance of Templates: time 0.00224/0.9323, allocations: 0.872 MB / 1.328 GB, free: 20.16 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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: 11.321932698003366]