Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01296/0.01296, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002233/0.002233, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.893/2.893, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4083, allocations: 151.6 MB / 1.167 GB, free: 6.938 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002089/0.4104, allocations: 0.8295 MB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001203/0.4106, allocations: 43.78 kB / 1.167 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.4106, allocations: 4 kB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.4107, allocations: 11.86 kB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.228e-05/0.4108, allocations: 3.938 kB / 1.167 GB, free: 6.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.894e-05/0.4108, allocations: 19.98 kB / 1.168 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.411, allocations: 63.78 kB / 1.168 GB, free: 5.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.4111, allocations: 47.97 kB / 1.168 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.4112, allocations: 23.81 kB / 1.168 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.4113, allocations: 27.84 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.4113, allocations: 4 kB / 1.168 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.4113, allocations: 12 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.4113, allocations: 19.92 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.4114, allocations: 31.8 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.4115, allocations: 79.53 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/0.4115, allocations: 0 / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.436e-06/0.4115, allocations: 0 / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.4116, allocations: 3.938 kB / 1.168 GB, free: 5.711 MB / 0.92 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.0004866/0.412, allocations: 383.1 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4121, allocations: 8.031 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.4121, allocations: 16.84 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.4124, allocations: 196.2 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.4124, allocations: 8.375 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.4124, allocations: 4.375 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.4126, allocations: 94.28 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.4126, allocations: 192 / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.4126, allocations: 7.938 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4126, allocations: 0 / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.226e-05/0.4127, allocations: 39.92 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.4133, allocations: 432.8 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.736e-05/0.4134, allocations: 41.25 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.4134, allocations: 21.77 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.4135, allocations: 8 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.4135, allocations: 30.56 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4135, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.4137, allocations: 53.53 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.4138, allocations: 81.11 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.4139, allocations: 156.5 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.4139, allocations: 33.7 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.414, allocations: 100.1 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.414, allocations: 7.891 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.4141, allocations: 21.7 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4142, allocations: 314.8 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/0.4143, allocations: 7.938 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.4143, allocations: 21.7 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.4143, allocations: 33.72 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4143, allocations: 0 / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.514e-05/0.4144, allocations: 61.53 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4145, allocations: 7.938 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4145, allocations: 11.88 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4145, allocations: 0 / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.4146, allocations: 4 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4146, allocations: 4.062 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.4146, allocations: 4 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.4146, allocations: 4 kB / 1.17 GB, free: 3.277 MB / 0.92 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.611e-05/0.4147, allocations: 116 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.4148, allocations: 7.953 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.4148, allocations: 19.8 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.4148, allocations: 96 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4148, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4148, allocations: 7.984 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.4152, allocations: 478.7 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4153, allocations: 4 kB / 1.171 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.4153, allocations: 3.938 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4153, allocations: 4 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.4153, allocations: 0 / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4153, allocations: 0 / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4153, allocations: 3.984 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.538e-05/0.4154, allocations: 77.95 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.4155, allocations: 93.05 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.4155, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.431e-05/0.4155, allocations: 4 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.4156, allocations: 0 / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.4156, allocations: 0 / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.963e-05/0.4157, allocations: 124.7 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.884e-06/0.4157, allocations: 0 / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001807/0.4159, allocations: 15.88 kB / 1.171 GB, free: 2.223 MB / 0.92 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.0001337/0.416, allocations: 95.25 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.99e-05/0.4161, allocations: 23.98 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4161, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.4161, allocations: 11.94 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.4163, allocations: 16.19 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.4166, allocations: 154.5 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.4169, allocations: 0.6967 MB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.572e-05/0.417, allocations: 4.438 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.417, allocations: 19.38 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.417, allocations: 0 / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of Templates: time 0.002638/0.4197, allocations: 462.2 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches