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.00519/0.00519, allocations: 98.2 kB / 15.73 MB, free: 6.055 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.001114/0.001114, allocations: 192.9 kB / 16.67 MB, free: 5.977 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.938/2.938, allocations: 437 MB / 0.7105 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3466, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001721/0.3483, allocations: 0.6595 MB / 1.167 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008692/0.3492, allocations: 0.8199 MB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.3492, allocations: 4 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.3493, allocations: 7.922 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.3494, allocations: 4 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.3495, allocations: 7.938 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.333e-05/0.3496, allocations: 23.98 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3497, allocations: 4 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.3498, allocations: 15.86 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.3498, allocations: 11.97 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.3499, allocations: 4 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.3499, allocations: 0 / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.3499, allocations: 4 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.3499, allocations: 15.94 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.082e-05/0.35, allocations: 23.84 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.35, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.35, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.35, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 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.0004552/0.3505, allocations: 343.4 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3505, allocations: 8.031 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.3506, allocations: 0.9375 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3507, allocations: 172.3 kB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3507, allocations: 4.375 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3507, allocations: 384 / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3509, allocations: 50.23 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3509, allocations: 192 / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3509, allocations: 7.875 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3509, allocations: 0 / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.3511, allocations: 31.97 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.3514, allocations: 249 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3516, allocations: 38.5 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.3517, allocations: 20.91 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3517, allocations: 7.984 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.3517, allocations: 38.48 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3517, allocations: 4 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003488/0.3521, allocations: 77.66 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3521, allocations: 55.34 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.3522, allocations: 101.8 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3522, allocations: 25.7 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.3523, allocations: 84.27 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.3523, allocations: 11.95 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.3524, allocations: 13.7 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3525, allocations: 314.8 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.3526, allocations: 15.98 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.3526, allocations: 19.92 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.3528, allocations: 44.88 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3528, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001754/0.353, allocations: 69.56 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.353, allocations: 4 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.353, allocations: 7.969 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.353, allocations: 0 / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.3531, allocations: 8 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3531, allocations: 4.031 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.3532, allocations: 7.984 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.3532, allocations: 0 / 1.17 GB, free: 3.207 MB / 0.92 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.314e-05/0.3533, allocations: 113.8 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.3533, allocations: 11.88 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.3535, allocations: 64.78 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3535, allocations: 4.031 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3535, allocations: 3.984 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3535, allocations: 0 / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.3537, allocations: 161.5 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3537, allocations: 4 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.3538, allocations: 7.984 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3538, allocations: 0 / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3538, allocations: 4 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3538, allocations: 0 / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3538, allocations: 4 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.354, allocations: 167.4 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.3541, allocations: 85.06 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3541, allocations: 0 / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.3542, allocations: 7.984 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.3542, allocations: 7.938 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3542, allocations: 0 / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.3543, allocations: 83.31 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3543, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002156/0.3545, allocations: 4 kB / 1.171 GB, free: 2.387 MB / 0.92 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.0001428/0.3546, allocations: 103.2 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.3549, allocations: 31.97 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3549, allocations: 4.062 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.3549, allocations: 27.91 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.3552, allocations: 9.344 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.3555, allocations: 102 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.3557, allocations: 0.6729 MB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.3558, allocations: 3.984 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3558, allocations: 19.5 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of SimCode: time 3.11e-07/0.3558, allocations: 0 / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of Templates: time 0.002377/0.3582, allocations: 430 kB / 1.172 GB, free: 0.9414 MB / 0.92 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=480 -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/jenkins/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