Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001172/0.001172, allocations: 108 kB / 15.61 MB, free: 152 kB / 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: 193.9 kB / 16.53 MB, free: 6.664 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.478/2.478, allocations: 390.2 MB / 0.6646 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9351/0.9366, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002518/0.9391, allocations: 0.8205 MB / 0.9504 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001324/0.9393, allocations: 45.23 kB / 0.9504 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.9393, allocations: 1.375 kB / 0.9504 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.616e-05/0.9394, allocations: 11.86 kB / 0.9504 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.9395, allocations: 13.19 kB / 0.9504 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.853e-05/0.9396, allocations: 18.73 kB / 0.9505 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.9397, allocations: 60.64 kB / 0.9505 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.9399, allocations: 44.47 kB / 0.9506 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.227e-05/0.94, allocations: 23.92 kB / 0.9506 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.9401, allocations: 32.67 kB / 0.9506 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.9401, allocations: 10.03 kB / 0.9506 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.9401, allocations: 6 kB / 0.9506 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.9402, allocations: 18.7 kB / 0.9506 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.9402, allocations: 33.58 kB / 0.9507 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.9403, allocations: 71.39 kB / 0.9507 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.9403, allocations: 0 / 0.9507 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.517e-06/0.9403, allocations: 0 / 0.9507 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9404, allocations: 0 / 0.9507 GB, free: 8.203 MB / 0.7169 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.0005232/0.9409, allocations: 375.4 kB / 0.9511 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.9409, allocations: 12.78 kB / 0.9511 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.941, allocations: 13.55 kB / 0.9511 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.9412, allocations: 194.9 kB / 0.9513 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.9413, allocations: 3.219 kB / 0.9513 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.9413, allocations: 9.812 kB / 0.9513 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.9415, allocations: 85.61 kB / 0.9514 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.9415, allocations: 1.375 kB / 0.9514 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.9415, allocations: 9.281 kB / 0.9514 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.9415, allocations: 5.219 kB / 0.9514 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.9416, allocations: 47.23 kB / 0.9515 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.9421, allocations: 433.6 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.321e-05/0.9422, allocations: 45.03 kB / 0.9519 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.9422, allocations: 15.22 kB / 0.9519 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.9423, allocations: 1.469 kB / 0.9519 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.9423, allocations: 32.12 kB / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.9423, allocations: 0 / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002364/0.9425, allocations: 63.25 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.9426, allocations: 81.11 kB / 0.9521 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.9427, allocations: 160.2 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.9428, allocations: 33.64 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.9428, allocations: 109.1 kB / 0.9524 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.9428, allocations: 3.906 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.9429, allocations: 18.47 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.943, allocations: 324.3 kB / 0.9527 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.943, allocations: 14.84 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.943, allocations: 18.94 kB / 0.9528 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/0.943, allocations: 31.08 kB / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9431, allocations: 0 / 0.9528 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.51e-05/0.9431, allocations: 59.05 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.9432, allocations: 5.031 kB / 0.9529 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9432, allocations: 9.5 kB / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.9432, allocations: 0 / 0.9529 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.9433, allocations: 9.391 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.9433, allocations: 1.281 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.9433, allocations: 2.469 kB / 0.9529 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.9433, allocations: 1.156 kB / 0.9529 GB, free: 6.027 MB / 0.7169 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.037e-05/0.9434, allocations: 113.3 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.9434, allocations: 7.625 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.9435, allocations: 15.09 kB / 0.953 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.9435, allocations: 5.5 kB / 0.953 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9435, allocations: 3.984 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.9435, allocations: 1.594 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.9438, allocations: 469.3 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.9438, allocations: 1 kB / 0.9535 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.9438, allocations: 6.5 kB / 0.9535 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9438, allocations: 1.312 kB / 0.9535 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.9438, allocations: 5.5 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.9438, allocations: 0 / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9438, allocations: 1 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.742e-05/0.9439, allocations: 82.7 kB / 0.9536 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.944, allocations: 87.08 kB / 0.9536 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.944, allocations: 1.531 kB / 0.9536 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.944, allocations: 5.25 kB / 0.9536 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.944, allocations: 5.297 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.944, allocations: 3.938 kB / 0.9537 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.804e-05/0.9441, allocations: 124.5 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9441, allocations: 5.375 kB / 0.9538 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001895/0.9443, allocations: 6.844 kB / 0.9538 GB, free: 5.074 MB / 0.7169 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.0001343/0.9445, allocations: 95.59 kB / 0.9539 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.9446, allocations: 22.78 kB / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.9446, allocations: 0 / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.089e-05/0.9446, allocations: 8.594 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.9448, allocations: 11.12 kB / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.9451, allocations: 158.4 kB / 0.9541 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.9452, allocations: 0.6945 MB / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.9453, allocations: 12.86 kB / 0.9548 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.9453, allocations: 11.16 kB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9453, allocations: 0 / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.002685/0.948, allocations: 450.4 kB / 0.9552 GB, free: 3.867 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches