Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001403/0.001403, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001659/0.001659, allocations: 195.1 kB / 16.14 MB, free: 6.719 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.719/2.719, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.27 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.333, allocations: 157.4 MB / 1.052 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002445/0.3355, allocations: 0.7146 MB / 1.053 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.3367, allocations: 0.8118 MB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.3367, allocations: 0 / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.3368, allocations: 7.922 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.3369, allocations: 4 kB / 1.054 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.3371, allocations: 4 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.027e-05/0.3372, allocations: 27.86 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3373, allocations: 11.98 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/0.3374, allocations: 0 / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.3375, allocations: 15.92 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3375, allocations: 0 / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.3375, allocations: 4 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.3375, allocations: 0 / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.3376, allocations: 15.92 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.925e-05/0.3377, allocations: 23.97 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3377, allocations: 0 / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3377, allocations: 0 / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3377, allocations: 0 / 1.054 GB, free: 7.156 MB / 0.8106 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.0006792/0.3384, allocations: 339.7 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/0.3385, allocations: 8.031 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.3386, allocations: 8.844 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.3388, allocations: 164.3 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3388, allocations: 8.312 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3388, allocations: 8.375 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.3391, allocations: 46.23 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3391, allocations: 4.188 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.3391, allocations: 3.938 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.3391, allocations: 3.984 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.3393, allocations: 31.95 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.3397, allocations: 248.9 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.34, allocations: 50.47 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3401, allocations: 20.91 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3401, allocations: 0 / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.3402, allocations: 34.56 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3402, allocations: 0 / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000474/0.3407, allocations: 81.64 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.3407, allocations: 55.34 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.3409, allocations: 101.8 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3409, allocations: 25.7 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.341, allocations: 84.27 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.341, allocations: 7.906 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.3411, allocations: 13.72 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.3413, allocations: 314.8 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.3414, allocations: 15.97 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3415, allocations: 19.98 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.3417, allocations: 36.89 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3417, allocations: 0 / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002911/0.342, allocations: 77.44 kB / 1.055 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.3421, allocations: 5.25 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3421, allocations: 4 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3421, allocations: 0 / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3422, allocations: 7.984 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3423, allocations: 4.031 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.3423, allocations: 7.984 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3424, allocations: 0 / 1.055 GB, free: 5.125 MB / 0.8106 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 0.0001015/0.3425, allocations: 117.8 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.3425, allocations: 0 / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.3428, allocations: 72.72 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3428, allocations: 4.031 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3428, allocations: 0 / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3428, allocations: 3.938 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.343, allocations: 161.6 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3431, allocations: 0 / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/0.3431, allocations: 11.94 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3432, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3432, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3432, allocations: 0 / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3432, allocations: 3.984 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3435, allocations: 163.5 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.3436, allocations: 81.09 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.3436, allocations: 4 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3437, allocations: 4 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.3438, allocations: 11.98 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.3438, allocations: 32 / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.3439, allocations: 83.28 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3439, allocations: 0 / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003397/0.3442, allocations: 7.938 kB / 1.056 GB, free: 4.312 MB / 0.8106 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.0001804/0.3444, allocations: 99.19 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.3447, allocations: 35.95 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3447, allocations: 4.062 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3448, allocations: 19.98 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.3453, allocations: 7.938 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.3457, allocations: 115.7 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3461, allocations: 0.6809 MB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.236e-05/0.3461, allocations: 4.062 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.3462, allocations: 7.438 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/0.3462, allocations: 3.938 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of Templates: time 0.003343/0.3495, allocations: 381.7 kB / 1.057 GB, free: 2.906 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches