Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 104.7 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 199 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 74.78 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3017, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002026/0.3038, allocations: 0.886 MB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001054/0.3039, allocations: 43.8 kB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.304, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.304, allocations: 3.938 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.05e-05/0.3041, allocations: 11.97 kB / 1.065 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.209e-05/0.3041, allocations: 19.94 kB / 1.065 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.39e-05/0.3042, allocations: 59.84 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3044, allocations: 39.97 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.3044, allocations: 27.86 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.3045, allocations: 23.86 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3045, allocations: 8 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.3045, allocations: 4 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.3045, allocations: 23.86 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.3046, allocations: 35.75 kB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.797e-05/0.3047, allocations: 52.17 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3047, allocations: 4 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3047, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3047, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8419 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.0004238/0.3051, allocations: 383.2 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3052, allocations: 8.031 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.3052, allocations: 12.75 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.3054, allocations: 188.2 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-06/0.3054, allocations: 384 / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.3054, allocations: 12.38 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3056, allocations: 99.81 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3056, allocations: 4.188 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3056, allocations: 3.938 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3056, allocations: 4 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.452e-05/0.3057, allocations: 39.92 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.3063, allocations: 432.6 kB / 1.066 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.512e-05/0.3063, allocations: 45.25 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.3064, allocations: 21.77 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.3064, allocations: 8 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.3064, allocations: 30.56 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3064, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.3066, allocations: 61.47 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.3066, allocations: 77.11 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.3068, allocations: 163.7 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3068, allocations: 25.7 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.3069, allocations: 108 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.3069, allocations: 3.906 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.3069, allocations: 21.7 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3071, allocations: 323 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.3071, allocations: 4 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.3071, allocations: 21.7 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.3072, allocations: 33.66 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3072, allocations: 0 / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.139e-05/0.3073, allocations: 57.53 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3073, allocations: 8.062 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3073, allocations: 3.938 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3073, allocations: 4 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/0.3074, allocations: 4 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3074, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.3074, allocations: 11.84 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.3074, allocations: 0 / 1.067 GB, free: 11.44 MB / 0.8419 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 8.488e-05/0.3075, allocations: 116 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.3076, allocations: 7.906 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.3076, allocations: 23.8 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3076, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3076, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3076, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.308, allocations: 470.8 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.308, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.308, allocations: 4 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3081, allocations: 8 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.3081, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3081, allocations: 0 / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3081, allocations: 7.922 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.876e-05/0.3082, allocations: 73.84 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.3082, allocations: 89 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3083, allocations: 4 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.3083, allocations: 4.031 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.3083, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.3083, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.499e-05/0.3084, allocations: 122.3 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3084, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001783/0.3086, allocations: 8 kB / 1.068 GB, free: 10.4 MB / 0.8419 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.0001064/0.3087, allocations: 95.25 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.048e-05/0.3088, allocations: 31.86 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3088, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.3088, allocations: 8 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.309, allocations: 11.94 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.3093, allocations: 208.7 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.3096, allocations: 0.6963 MB / 1.069 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.3096, allocations: 11.44 kB / 1.069 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3096, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.002309/0.312, allocations: 0.8561 MB / 1.07 GB, free: 8.41 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches