Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006485/0.006485, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001429/0.001429, allocations: 194.4 kB / 16.67 MB, free: 5.949 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.961/2.961, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3687, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002038/0.3707, allocations: 0.6075 MB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3718, allocations: 0.804 MB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.3719, allocations: 4 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.3719, allocations: 0 / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.256e-05/0.372, allocations: 7.922 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.3721, allocations: 4 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.3722, allocations: 23.92 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.748e-05/0.3723, allocations: 0 / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3724, allocations: 7.984 kB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.266e-05/0.3725, allocations: 11.94 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.3725, allocations: 0 / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-06/0.3725, allocations: 8 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.3725, allocations: 3.984 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.3726, allocations: 7.922 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.137e-05/0.3727, allocations: 23.86 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3727, allocations: 0 / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3727, allocations: 0 / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3727, allocations: 4 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004117/0.3731, allocations: 327.4 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3732, allocations: 8.625 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.3732, allocations: 4.938 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.3733, allocations: 172.4 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3733, allocations: 4.359 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3734, allocations: 384 / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3735, allocations: 34.25 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3735, allocations: 192 / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3735, allocations: 7.938 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3735, allocations: 0 / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/0.3736, allocations: 15.98 kB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.3738, allocations: 157.6 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.847e-05/0.3739, allocations: 22.61 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.3739, allocations: 16.91 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3739, allocations: 0 / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.374, allocations: 30.56 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.374, allocations: 0 / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002136/0.3742, allocations: 65.47 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.3742, allocations: 51.41 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.871e-05/0.3743, allocations: 105.8 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.3743, allocations: 29.64 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.3744, allocations: 80.14 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3744, allocations: 0 / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.3744, allocations: 13.72 kB / 1.21 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3746, allocations: 323 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/0.3746, allocations: 4 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.3746, allocations: 7.984 kB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.898e-05/0.3747, allocations: 24.84 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3747, allocations: 0 / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.3748, allocations: 49.62 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3749, allocations: 8.094 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3749, allocations: 7.875 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3749, allocations: 0 / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.375, allocations: 4 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.375, allocations: 0 / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.375, allocations: 7.984 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.375, allocations: 0 / 1.211 GB, free: 6.305 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.019e-05/0.3751, allocations: 105.8 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.3751, allocations: 7.906 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.3752, allocations: 11.06 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.3752, allocations: 0 / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3752, allocations: 0 / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3752, allocations: 0 / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.97e-05/0.3753, allocations: 153.7 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3753, allocations: 0 / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.3753, allocations: 8.234 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3753, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3754, allocations: 7.938 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3754, allocations: 0 / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3754, allocations: 4 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.3755, allocations: 69.06 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.3756, allocations: 85.09 kB / 1.211 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.3756, allocations: 3.938 kB / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.775e-05/0.3756, allocations: 0 / 1.211 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.3757, allocations: 8 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3757, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.3757, allocations: 87.3 kB / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3757, allocations: 0 / 1.211 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001806/0.3759, allocations: 0 / 1.211 GB, free: 5.672 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.0001383/0.3761, allocations: 100.4 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.3762, allocations: 15.98 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3762, allocations: 0 / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.3763, allocations: 19.94 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.3764, allocations: 3.984 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3768, allocations: 118.5 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.377, allocations: 0.6768 MB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.377, allocations: 3.938 kB / 1.212 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.3771, allocations: 7.438 kB / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3771, allocations: 0 / 1.212 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of Templates: time 0.002433/0.3795, allocations: 297.5 kB / 1.212 GB, free: 4.375 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches