Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_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.005936/0.005936, allocations: 98.42 kB / 15.73 MB, free: 5.551 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.001132/0.001132, allocations: 191 kB / 16.67 MB, free: 5.473 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.628/2.628, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.88 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9395/0.9408, allocations: 159.1 MB / 1.221 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00222/0.9431, allocations: 0.8321 MB / 1.221 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.9432, allocations: 43.84 kB / 1.221 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.9433, allocations: 0 / 1.221 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.9433, allocations: 7.875 kB / 1.221 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.9434, allocations: 15.86 kB / 1.221 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.901e-05/0.9435, allocations: 15.98 kB / 1.221 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.9436, allocations: 63.84 kB / 1.222 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.9437, allocations: 39.86 kB / 1.222 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.9438, allocations: 35.8 kB / 1.222 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.9439, allocations: 27.84 kB / 1.222 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.9439, allocations: 8 kB / 1.222 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-06/0.9439, allocations: 4 kB / 1.222 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.9439, allocations: 15.94 kB / 1.222 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.944, allocations: 35.78 kB / 1.222 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.9441, allocations: 72.58 kB / 1.222 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9441, allocations: 0 / 1.222 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9441, allocations: 3.938 kB / 1.222 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.505e-06/0.9441, allocations: 0 / 1.222 GB, free: 1.105 MB / 0.9356 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.000457/0.9446, allocations: 383.1 kB / 1.222 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.9446, allocations: 8.031 kB / 1.222 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.9447, allocations: 16.84 kB / 1.222 GB, free: 0.6562 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.9449, allocations: 192.2 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.9449, allocations: 4.375 kB / 1.222 GB, free: 436 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.9449, allocations: 12.31 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.945, allocations: 89.81 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9451, allocations: 4.188 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.9451, allocations: 11.94 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.9451, allocations: 0 / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.35e-05/0.9452, allocations: 39.92 kB / 1.223 GB, free: 268 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.9457, allocations: 428.8 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.192e-05/0.9457, allocations: 49.19 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.9458, allocations: 13.84 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.9458, allocations: 7.984 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.9458, allocations: 34.56 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9458, allocations: 3.938 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001903/0.946, allocations: 57.62 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.9461, allocations: 77.11 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.9462, allocations: 156.9 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.9462, allocations: 29.7 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.9463, allocations: 108 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.9463, allocations: 3.953 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.9463, allocations: 21.67 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9465, allocations: 319 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.9465, allocations: 8 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.9465, allocations: 25.64 kB / 1.224 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.9465, allocations: 25.72 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9466, allocations: 0 / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.209e-05/0.9466, allocations: 57.59 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.9466, allocations: 8 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.9467, allocations: 15.92 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.9467, allocations: 0 / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.9467, allocations: 4 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.9468, allocations: 0 / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.9468, allocations: 7.938 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.9468, allocations: 0 / 1.224 GB, free: 14.66 MB / 0.9512 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.051e-05/0.9469, allocations: 113.8 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.9469, allocations: 7.953 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.947, allocations: 19.8 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.947, allocations: 4.094 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.947, allocations: 0 / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.947, allocations: 7.984 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.9474, allocations: 466.7 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.9474, allocations: 8 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.9474, allocations: 0 / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.9474, allocations: 4 kB / 1.225 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.9474, allocations: 4.062 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/0.9474, allocations: 3.938 kB / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9474, allocations: 0 / 1.225 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.763e-05/0.9475, allocations: 81.88 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.9476, allocations: 85.06 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.9476, allocations: 3.984 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.9476, allocations: 4.031 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.9476, allocations: 4 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.9477, allocations: 0 / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001043/0.9478, allocations: 123.2 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9478, allocations: 0 / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001906/0.9479, allocations: 11.94 kB / 1.225 GB, free: 13.61 MB / 0.9512 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.000138/0.9481, allocations: 103.2 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.9482, allocations: 20 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9482, allocations: 0 / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-05/0.9482, allocations: 11.92 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.9484, allocations: 11.84 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.9488, allocations: 158.6 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.949, allocations: 0.6965 MB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.9491, allocations: 12.36 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.9491, allocations: 11.44 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.9491, allocations: 0 / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.002649/0.9518, allocations: 461.4 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches