Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 106.6 kB / 16.27 MB, free: 6.414 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.001218/0.001218, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.532/2.532, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 73.92 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3341, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002029/0.3361, allocations: 0.6752 MB / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009773/0.3371, allocations: 0.8079 MB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.3372, allocations: 0 / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.3372, allocations: 4 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/0.3373, allocations: 3.938 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.3375, allocations: 7.984 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.2e-05/0.3375, allocations: 23.94 kB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3377, allocations: 7.984 kB / 1.019 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.533e-05/0.3377, allocations: 15.92 kB / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.3378, allocations: 11.98 kB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3378, allocations: 0 / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.3378, allocations: 4 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.3378, allocations: 3.938 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.3379, allocations: 8 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.512e-05/0.3379, allocations: 27.89 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3379, allocations: 0 / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.735e-06/0.338, allocations: 0 / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.338, allocations: 3.938 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000474/0.3384, allocations: 339.7 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3385, allocations: 12.92 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.3385, allocations: 4.844 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.3387, allocations: 160.4 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.3387, allocations: 4.375 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3387, allocations: 4.375 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3389, allocations: 46.23 kB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3389, allocations: 4.188 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3389, allocations: 7.938 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3389, allocations: 0 / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.3391, allocations: 35.95 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.3394, allocations: 248.9 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.3396, allocations: 46.44 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.811e-05/0.3397, allocations: 20.89 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3397, allocations: 0 / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3397, allocations: 34.56 kB / 1.02 GB, free: 7.883 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3397, allocations: 0 / 1.02 GB, free: 7.883 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.3401, allocations: 85.58 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3401, allocations: 55.41 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.3402, allocations: 97.86 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3403, allocations: 25.7 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.3403, allocations: 88.06 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.3403, allocations: 3.906 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3404, allocations: 17.72 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3406, allocations: 315 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.3407, allocations: 19.98 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.3407, allocations: 15.97 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.3409, allocations: 36.83 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3409, allocations: 0 / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002704/0.3412, allocations: 77.5 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3412, allocations: 8 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3412, allocations: 0 / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3412, allocations: 0 / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.3413, allocations: 7.984 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3413, allocations: 4 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.3414, allocations: 8 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3414, allocations: 4 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 7.986e-05/0.3415, allocations: 114.5 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.3415, allocations: 3.984 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.3418, allocations: 76.72 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3418, allocations: 0 / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3418, allocations: 0 / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3418, allocations: 0 / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.342, allocations: 157.6 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.342, allocations: 4.219 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.249e-05/0.3421, allocations: 11.98 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3421, allocations: 0 / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3421, allocations: 3.984 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.3421, allocations: 3.938 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3421, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.3424, allocations: 167.5 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.3424, allocations: 77.11 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3425, allocations: 7.984 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.3425, allocations: 7.938 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.3426, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.3426, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.3426, allocations: 83.27 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3426, allocations: 0 / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000214/0.3429, allocations: 11.94 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001478/0.343, allocations: 99.28 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.3433, allocations: 39.95 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3433, allocations: 0 / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.3434, allocations: 15.98 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3436, allocations: 12 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.344, allocations: 147.7 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3443, allocations: 0.6768 MB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.3443, allocations: 7.438 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.3444, allocations: 4 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of Templates: time 0.00208/0.3464, allocations: 0.5441 MB / 1.024 GB, free: 4.547 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches