Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001648/0.001648, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001872/0.001872, allocations: 191.5 kB / 16.25 MB, free: 6.645 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.573/1.573, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.895/2.895, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002083, allocations: 67.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7985, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00238/0.8009, allocations: 0.8857 MB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000125/0.8011, allocations: 35.84 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.8011, allocations: 8 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.416e-05/0.8012, allocations: 3.938 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.05e-05/0.8013, allocations: 3.938 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.839e-05/0.8014, allocations: 19.98 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.8015, allocations: 59.8 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.8017, allocations: 47.94 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.8018, allocations: 23.88 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.8018, allocations: 31.78 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.8019, allocations: 8 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.8019, allocations: 4 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.8019, allocations: 15.94 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.802, allocations: 35.8 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.8021, allocations: 69.67 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.8021, allocations: 4 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.437e-06/0.8021, allocations: 4 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.8022, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.7637 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.0005195/0.8027, allocations: 387.1 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.8027, allocations: 8.031 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.8028, allocations: 8.844 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.803, allocations: 192.2 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.8031, allocations: 4.375 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.8031, allocations: 8.375 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.8033, allocations: 103.8 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.8033, allocations: 4.188 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.8033, allocations: 3.938 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.8034, allocations: 3.984 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.812e-05/0.8034, allocations: 35.98 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.8041, allocations: 436.6 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.382e-05/0.8042, allocations: 45.08 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.8042, allocations: 17.84 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.8042, allocations: 4.031 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.8043, allocations: 38.56 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.8043, allocations: 0 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002125/0.8045, allocations: 57.53 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.8046, allocations: 81.05 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.8047, allocations: 160.3 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.8048, allocations: 29.69 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.8049, allocations: 104.1 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.8049, allocations: 11.89 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.8049, allocations: 17.72 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.8051, allocations: 318.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.8051, allocations: 7.984 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/0.8051, allocations: 17.72 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/0.8052, allocations: 29.66 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.8052, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.987e-05/0.8053, allocations: 57.59 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8053, allocations: 9.25 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.8053, allocations: 7.875 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8054, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.8054, allocations: 11.94 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8054, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.8055, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.8055, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 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.637e-05/0.8056, allocations: 118.4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.8056, allocations: 15.8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.8057, allocations: 11.81 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.8057, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8057, allocations: 4 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8057, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.8062, allocations: 470.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.8062, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.8062, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.8062, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.8063, allocations: 7.922 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8063, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8063, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.8064, allocations: 89.84 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.8064, allocations: 88.94 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.8065, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.275e-05/0.8065, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.8065, allocations: 4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.8065, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001004/0.8066, allocations: 121.5 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8066, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001991/0.8068, allocations: 8 kB / 1.021 GB, free: 13.97 MB / 0.7794 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.0001438/0.807, allocations: 103.3 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.8071, allocations: 19.92 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.8071, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.8071, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.8073, allocations: 11.94 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.8077, allocations: 179.1 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.808, allocations: 0.7001 MB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.769e-05/0.8081, allocations: 8.438 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.8081, allocations: 11.44 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8081, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of Templates: time 0.00306/0.8112, allocations: 464.5 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches