Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002043/0.002043, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.803/2.803, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.94 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3015, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00246/0.3041, allocations: 0.8908 MB / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001114/0.3042, allocations: 39.78 kB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.211e-05/0.3043, allocations: 4 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.3043, allocations: 7.922 kB / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.853e-05/0.3044, allocations: 7.938 kB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.302e-05/0.3045, allocations: 12 kB / 1.053 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.645e-05/0.3046, allocations: 59.75 kB / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3048, allocations: 47.97 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.147e-05/0.3048, allocations: 23.86 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.3049, allocations: 27.8 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.3049, allocations: 4 kB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.3049, allocations: 7.938 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.305, allocations: 15.97 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.305, allocations: 27.75 kB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.3051, allocations: 64.05 kB / 1.053 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3051, allocations: 4 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3051, allocations: 4 kB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3051, allocations: 0 / 1.053 GB, free: 7.578 MB / 0.8106 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.0004829/0.3056, allocations: 371.3 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3057, allocations: 15.97 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.3057, allocations: 12.83 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.306, allocations: 200.1 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.306, allocations: 384 / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.306, allocations: 12.38 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3062, allocations: 93.58 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3062, allocations: 192 / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3062, allocations: 7.938 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.3062, allocations: 4 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.429e-05/0.3063, allocations: 43.91 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.3069, allocations: 432.6 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.317e-05/0.307, allocations: 45.25 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.3071, allocations: 17.78 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.3071, allocations: 0 / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3071, allocations: 38.56 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3071, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001998/0.3073, allocations: 61.47 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.3074, allocations: 81.05 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3075, allocations: 157.3 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3076, allocations: 29.7 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.3076, allocations: 108.2 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.3077, allocations: 7.906 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.3077, allocations: 17.72 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3078, allocations: 318.8 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.3079, allocations: 4 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.934e-05/0.3079, allocations: 21.66 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.599e-05/0.308, allocations: 33.7 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.308, allocations: 0 / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.175e-05/0.308, allocations: 57.55 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3081, allocations: 4 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3081, allocations: 3.938 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3081, allocations: 4 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.391e-05/0.3082, allocations: 11.92 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3082, allocations: 0 / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.3082, allocations: 11.84 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.3083, allocations: 0 / 1.055 GB, free: 5.137 MB / 0.8106 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.375e-05/0.3084, allocations: 117.9 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.3084, allocations: 7.906 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.3084, allocations: 15.81 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3084, allocations: 0 / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3085, allocations: 3.984 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3085, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.3089, allocations: 470.8 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3089, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.3089, allocations: 4 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3089, allocations: 3.938 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3089, allocations: 4 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3089, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3089, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.309, allocations: 85.89 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.3091, allocations: 85.02 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3091, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.3092, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.3092, allocations: 7.984 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.3092, allocations: 96 / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001087/0.3093, allocations: 123.2 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3093, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002055/0.3095, allocations: 8 kB / 1.056 GB, free: 4.105 MB / 0.8106 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.0001396/0.3097, allocations: 103.2 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.3098, allocations: 19.94 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3098, allocations: 0 / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.3098, allocations: 7.938 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.31, allocations: 15.92 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.3104, allocations: 188.7 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3107, allocations: 0.6887 MB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.3107, allocations: 12.42 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.3107, allocations: 11.44 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of SimCode: time 6.21e-07/0.3107, allocations: 0 / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of Templates: time 0.00262/0.3134, allocations: 432.6 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches