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.00161/0.001616, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001864/0.001864, allocations: 195 kB / 16.14 MB, free: 6.656 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.525/1.525, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.706/2.706, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7942/0.7956, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002026/0.7976, allocations: 0.8974 MB / 1.017 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001206/0.7978, allocations: 39.78 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.7978, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.7979, allocations: 7.938 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.598e-05/0.798, allocations: 3.938 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.452e-05/0.798, allocations: 19.98 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.252e-05/0.7981, allocations: 55.84 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.7983, allocations: 43.95 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.7983, allocations: 27.8 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/0.7984, allocations: 23.86 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.7984, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-06/0.7984, allocations: 4 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.7985, allocations: 15.92 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.7985, allocations: 27.81 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.411e-05/0.7986, allocations: 73.66 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7986, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7986, allocations: 4 kB / 1.018 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.7986, allocations: 0 / 1.018 GB, free: 1.566 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.0004423/0.7991, allocations: 383.2 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.7991, allocations: 8.031 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.7992, allocations: 8.844 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.7994, allocations: 196.1 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.7994, allocations: 4.375 kB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.7994, allocations: 8.375 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.7996, allocations: 98.2 kB / 1.018 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.7996, allocations: 4.125 kB / 1.018 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.7996, allocations: 7.938 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7996, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.7997, allocations: 39.92 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.8002, allocations: 440.5 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.052e-05/0.8003, allocations: 41.28 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.8003, allocations: 21.83 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.8003, allocations: 0 / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.8004, allocations: 38.56 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.8004, allocations: 0 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001656/0.8005, allocations: 61.38 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.8006, allocations: 81.11 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.8008, allocations: 163.5 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.8008, allocations: 29.64 kB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.8008, allocations: 99.98 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-06/0.8009, allocations: 12.14 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.8009, allocations: 17.72 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.801, allocations: 322.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.801, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.8011, allocations: 21.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.8011, allocations: 21.72 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8011, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.126e-05/0.8012, allocations: 61.53 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8012, allocations: 8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8012, allocations: 3.938 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.8013, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.8013, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.8014, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.8014, allocations: 3.906 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.8014, allocations: 0 / 1.02 GB, free: 15.13 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 8.023e-05/0.8015, allocations: 125.8 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.8015, allocations: 7.906 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.8016, allocations: 15.81 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8016, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.8016, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.8016, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.802, allocations: 470.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.802, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.802, allocations: 3.984 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.802, allocations: 11.94 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.802, allocations: 3.938 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.802, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.802, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.689e-05/0.8021, allocations: 81.91 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.8022, allocations: 92.94 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.8022, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.8022, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.8023, allocations: 3.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.8023, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.577e-05/0.8024, allocations: 125.3 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8024, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000194/0.8026, allocations: 8 kB / 1.021 GB, free: 14.08 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.0001023/0.8027, allocations: 105.8 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.152e-05/0.8028, allocations: 19.98 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8028, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.8028, allocations: 7.938 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.803, allocations: 11.94 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.8033, allocations: 184.8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.8035, allocations: 0.6926 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.8036, allocations: 8.422 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.8036, allocations: 19.38 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8036, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.002349/0.806, allocations: 428.6 kB / 1.022 GB, free: 12.55 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=480 -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