Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00221/0.00221, allocations: 193.5 kB / 16.25 MB, free: 6.633 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.48/1.48, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.591/2.591, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.756/0.7579, allocations: 140.4 MB / 0.9491 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.001937/0.7599, allocations: 0.7274 MB / 0.9498 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008242/0.7608, allocations: 0.8113 MB / 0.9506 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.7608, allocations: 1.344 kB / 0.9506 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.7608, allocations: 0 / 0.9506 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.7609, allocations: 3.938 kB / 0.9506 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.7611, allocations: 14.48 kB / 0.9506 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.805e-05/0.7612, allocations: 17.25 kB / 0.9506 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.7613, allocations: 6.484 kB / 0.9507 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.784e-05/0.7614, allocations: 11.72 kB / 0.9507 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.7614, allocations: 14.52 kB / 0.9507 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.7614, allocations: 2.562 kB / 0.9507 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.7614, allocations: 1.281 kB / 0.9507 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.7615, allocations: 5.359 kB / 0.9507 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.7615, allocations: 10.41 kB / 0.9507 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.653e-05/0.7616, allocations: 23.61 kB / 0.9507 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7616, allocations: 4 kB / 0.9507 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7616, allocations: 0 / 0.9507 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.7616, allocations: 1.281 kB / 0.9507 GB, free: 8.066 MB / 0.7169 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.000386/0.762, allocations: 338.4 kB / 0.951 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.762, allocations: 8.844 kB / 0.9511 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.7621, allocations: 6.219 kB / 0.9511 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.901e-05/0.7622, allocations: 169.6 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.7622, allocations: 1.719 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.7622, allocations: 5.656 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.7624, allocations: 49.92 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.7624, allocations: 192 / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.7624, allocations: 3.938 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7624, allocations: 1.188 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.7626, allocations: 38.02 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.7629, allocations: 249.9 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.763, allocations: 34.53 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.7631, allocations: 25.86 kB / 0.9516 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.7631, allocations: 1.531 kB / 0.9516 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.7631, allocations: 34.5 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7632, allocations: 5.844 kB / 0.9517 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003376/0.7635, allocations: 79.92 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.7635, allocations: 51.41 kB / 0.9518 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.399e-05/0.7636, allocations: 99.7 kB / 0.9519 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.7636, allocations: 25.7 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.563e-05/0.7636, allocations: 85.41 kB / 0.952 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.7637, allocations: 13.56 kB / 0.952 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.7637, allocations: 14.94 kB / 0.952 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.7637, allocations: 311.8 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.653e-05/0.7638, allocations: 12.77 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.7639, allocations: 22.28 kB / 0.9523 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.764, allocations: 51.11 kB / 0.9524 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.764, allocations: 0 / 0.9524 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001712/0.7642, allocations: 68.62 kB / 0.9525 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7642, allocations: 4.75 kB / 0.9525 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7643, allocations: 1.219 kB / 0.9525 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7643, allocations: 0 / 0.9525 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.7644, allocations: 10.14 kB / 0.9525 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.7644, allocations: 0 / 0.9525 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.7644, allocations: 8.781 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.7644, allocations: 3.984 kB / 0.9525 GB, free: 6.246 MB / 0.7169 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 6.099e-05/0.7645, allocations: 120.2 kB / 0.9526 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.7645, allocations: 5.281 kB / 0.9526 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.7648, allocations: 73.28 kB / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7648, allocations: 1.438 kB / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7648, allocations: 4.031 kB / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7648, allocations: 0 / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.7649, allocations: 159.2 kB / 0.9528 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7649, allocations: 3.938 kB / 0.9528 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.759e-05/0.765, allocations: 9.578 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.765, allocations: 1.406 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.765, allocations: 0 / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.765, allocations: 0 / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.765, allocations: 1.406 kB / 0.9528 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.7652, allocations: 167.1 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.7653, allocations: 81.09 kB / 0.9531 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.7653, allocations: 9.297 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.7654, allocations: 3.594 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.7654, allocations: 1.125 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.7654, allocations: 0.9688 kB / 0.9531 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.463e-05/0.7654, allocations: 86.67 kB / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7654, allocations: 0 / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002128/0.7657, allocations: 4 kB / 0.9532 GB, free: 5.504 MB / 0.7169 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.0001193/0.7658, allocations: 97.62 kB / 0.9533 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.766, allocations: 41.27 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.766, allocations: 0 / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.7661, allocations: 23.3 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.7664, allocations: 15.09 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.7667, allocations: 108 kB / 0.9535 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.7669, allocations: 0.6807 MB / 0.9541 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.299e-05/0.7669, allocations: 1.25 kB / 0.9541 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.7669, allocations: 12.94 kB / 0.9541 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.767, allocations: 0 / 0.9541 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of Templates: time 0.002487/0.7694, allocations: 380.9 kB / 0.9545 GB, free: 4.348 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches