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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001157/0.001157, allocations: 100.1 kB / 15.88 MB, free: 12 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.001316/0.001316, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6949/0.6967, allocations: 140.4 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001911/0.6986, allocations: 0.8735 MB / 0.9504 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.925e-05/0.6988, allocations: 45.31 kB / 0.9505 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.6988, allocations: 1.438 kB / 0.9505 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.089e-05/0.6989, allocations: 7.875 kB / 0.9505 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.558e-05/0.6989, allocations: 7.922 kB / 0.9505 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.885e-05/0.699, allocations: 15.91 kB / 0.9505 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.312e-05/0.6991, allocations: 55.53 kB / 0.9506 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.6992, allocations: 39.14 kB / 0.9506 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.267e-05/0.6993, allocations: 35.36 kB / 0.9506 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.6993, allocations: 24.3 kB / 0.9507 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.6993, allocations: 3.281 kB / 0.9507 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.6994, allocations: 4.875 kB / 0.9507 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.6994, allocations: 18.11 kB / 0.9507 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.6994, allocations: 25.78 kB / 0.9507 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.571e-05/0.6995, allocations: 52.11 kB / 0.9508 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.6995, allocations: 1.562 kB / 0.9508 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6995, allocations: 0 / 0.9508 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.6995, allocations: 0 / 0.9508 GB, free: 8.215 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.0003229/0.6998, allocations: 388.4 kB / 0.9511 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.6999, allocations: 8.969 kB / 0.9511 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.6999, allocations: 12.66 kB / 0.9512 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.7001, allocations: 195.3 kB / 0.9513 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.7001, allocations: 7.125 kB / 0.9513 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.7001, allocations: 8.812 kB / 0.9514 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.7002, allocations: 90.17 kB / 0.9514 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.7002, allocations: 4.188 kB / 0.9514 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.7002, allocations: 9.25 kB / 0.9515 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.7003, allocations: 1.375 kB / 0.9515 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.525e-05/0.7003, allocations: 36.61 kB / 0.9515 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.7007, allocations: 432.5 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.065e-05/0.7008, allocations: 49.39 kB / 0.952 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.7008, allocations: 15.22 kB / 0.952 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-06/0.7008, allocations: 1.375 kB / 0.952 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.7008, allocations: 39.88 kB / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7008, allocations: 0 / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001401/0.701, allocations: 53.92 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.701, allocations: 86.41 kB / 0.9521 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.7011, allocations: 159.6 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.066e-06/0.7011, allocations: 29.69 kB / 0.9523 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.7012, allocations: 105.4 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.7012, allocations: 7.891 kB / 0.9524 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.7012, allocations: 18.09 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.021e-05/0.7013, allocations: 321.6 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.7013, allocations: 6.734 kB / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.7013, allocations: 19.22 kB / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.7014, allocations: 21.97 kB / 0.9528 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7014, allocations: 0 / 0.9528 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.797e-05/0.7014, allocations: 67.41 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.7014, allocations: 5.5 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.7015, allocations: 3.938 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.7015, allocations: 1.375 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.392e-05/0.7015, allocations: 5.5 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.7015, allocations: 5.359 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.7016, allocations: 1.375 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.7016, allocations: 1.375 kB / 0.9529 GB, free: 6.047 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 4.758e-05/0.7016, allocations: 117.9 kB / 0.953 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.7017, allocations: 16.08 kB / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.7017, allocations: 18.5 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.7017, allocations: 4.078 kB / 0.953 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7017, allocations: 1.375 kB / 0.953 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.7017, allocations: 5.312 kB / 0.953 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.702, allocations: 470 kB / 0.9535 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.702, allocations: 0 / 0.9535 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.702, allocations: 10.81 kB / 0.9535 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.702, allocations: 1.375 kB / 0.9535 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.702, allocations: 5.359 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7021, allocations: 0 / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7021, allocations: 1.375 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.697e-05/0.7021, allocations: 82.16 kB / 0.9536 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.7022, allocations: 91.94 kB / 0.9537 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.7022, allocations: 5.719 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.7022, allocations: 0 / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.7022, allocations: 1.406 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.7022, allocations: 1.062 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.7023, allocations: 124 kB / 0.9538 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7023, allocations: 1.625 kB / 0.9538 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001818/0.7025, allocations: 6.531 kB / 0.9538 GB, free: 5.082 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 8.67e-05/0.7026, allocations: 99.72 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.505e-05/0.7026, allocations: 19.45 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7027, allocations: 3.938 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.7027, allocations: 4.188 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.7028, allocations: 12.78 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.7031, allocations: 209 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.7032, allocations: 0.6949 MB / 0.9548 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.7032, allocations: 11.44 kB / 0.9548 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.7032, allocations: 0 / 0.9548 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.001913/0.7051, allocations: 0.8518 MB / 0.9557 GB, free: 3.613 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/jenkins1/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