Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001358/0.001358, allocations: 113.7 kB / 16.42 MB, free: 6.5 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.001597/0.001597, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9395/0.9409, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002045/0.943, allocations: 0.8329 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001207/0.9431, allocations: 44.39 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.9432, allocations: 1.844 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.9432, allocations: 9.328 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.568e-05/0.9433, allocations: 9.969 kB / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.028e-05/0.9434, allocations: 24.59 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.9435, allocations: 59.47 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.9437, allocations: 33.22 kB / 1.09 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.005e-05/0.9438, allocations: 30.75 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.9438, allocations: 33.95 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.9439, allocations: 5.375 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.9439, allocations: 6.719 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.501e-05/0.9439, allocations: 20.23 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.944, allocations: 32.56 kB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.9441, allocations: 71.73 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.9441, allocations: 0 / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.454e-06/0.9441, allocations: 0 / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.9442, allocations: 1.188 kB / 1.09 GB, free: 4.762 MB / 0.8575 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.0004229/0.9446, allocations: 381.8 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.9446, allocations: 8.719 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.9447, allocations: 14.03 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.9449, allocations: 196.6 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.9449, allocations: 4 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.9449, allocations: 8.969 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.9451, allocations: 90.8 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.9451, allocations: 4.125 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.9451, allocations: 9 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.9451, allocations: 2.219 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.9452, allocations: 35.98 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.9457, allocations: 429.6 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.964e-05/0.9458, allocations: 46.41 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.9458, allocations: 20.66 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-06/0.9458, allocations: 0 / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.9459, allocations: 45.16 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.9459, allocations: 0 / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.9461, allocations: 52.94 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.9461, allocations: 86.09 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.9463, allocations: 161.4 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.9463, allocations: 29.64 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.9463, allocations: 108.6 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-06/0.9464, allocations: 5.688 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.9464, allocations: 17.81 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.9465, allocations: 319.9 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.9465, allocations: 3.812 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.9465, allocations: 24.47 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.018e-05/0.9466, allocations: 23.62 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9466, allocations: 0 / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.881e-05/0.9467, allocations: 61.55 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.9467, allocations: 5.828 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.9467, allocations: 0.75 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.9467, allocations: 9.156 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.9468, allocations: 6.094 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.9468, allocations: 1.844 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.9468, allocations: 6.094 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-06/0.9468, allocations: 1.094 kB / 1.092 GB, free: 2.691 MB / 0.8575 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 6.121e-05/0.9469, allocations: 118.4 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.947, allocations: 8.5 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.947, allocations: 15.83 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.947, allocations: 1.25 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.947, allocations: 4.781 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/0.947, allocations: 90.06 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.9471, allocations: 1.922 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.9472, allocations: 1.094 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.9472, allocations: 5.656 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.354e-05/0.9473, allocations: 199.9 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001137/0.9474, allocations: 296.5 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.47e-05/0.9474, allocations: 3.984 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.699e-05/0.9475, allocations: 123 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of Backend: time 1.9e-07/0.9475, allocations: 7.875 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000477/0.948, allocations: 95.84 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003936/0.9484, allocations: 0.6083 MB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of Templates: time 0.002954/0.9514, allocations: 0.5192 MB / 1.094 GB, free: 1.086 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches