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.001228/0.001228, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001459/0.001459, allocations: 194.5 kB / 16.14 MB, free: 6.691 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.476/1.476, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.391/2.391, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 72.12 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8862/0.8875, allocations: 140.4 MB / 0.9489 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.002118/0.8897, allocations: 0.7184 MB / 0.9496 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000863/0.8906, allocations: 0.8123 MB / 0.9504 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.8906, allocations: 1.25 kB / 0.9504 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.8906, allocations: 0 / 0.9504 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.8907, allocations: 11.91 kB / 0.9504 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.8909, allocations: 6.75 kB / 0.9505 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.154e-05/0.891, allocations: 20.08 kB / 0.9505 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.8911, allocations: 8.125 kB / 0.9505 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.923e-05/0.8911, allocations: 2.75 kB / 0.9505 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.8912, allocations: 18.67 kB / 0.9505 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.8912, allocations: 1.375 kB / 0.9505 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.8912, allocations: 1.375 kB / 0.9505 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.8912, allocations: 1.375 kB / 0.9505 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.8913, allocations: 17.28 kB / 0.9505 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.612e-05/0.8914, allocations: 20.03 kB / 0.9505 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8914, allocations: 0 / 0.9505 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8914, allocations: 1.375 kB / 0.9505 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.8914, allocations: 0 / 0.9505 GB, free: 8.035 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.0004122/0.8918, allocations: 337.8 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.8919, allocations: 9.625 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.8919, allocations: 10.25 kB / 0.9509 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.236e-05/0.892, allocations: 165.7 kB / 0.951 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.892, allocations: 1.75 kB / 0.951 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.892, allocations: 5.75 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.8922, allocations: 53.17 kB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.8922, allocations: 192 / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8922, allocations: 3.938 kB / 0.9511 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.8922, allocations: 5.375 kB / 0.9511 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.8924, allocations: 33.83 kB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.8927, allocations: 245.2 kB / 0.9514 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.8928, allocations: 42.86 kB / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.8929, allocations: 26.41 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.8929, allocations: 1.375 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.893, allocations: 35.94 kB / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.893, allocations: 0 / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003399/0.8933, allocations: 75.89 kB / 0.9515 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.8933, allocations: 56.91 kB / 0.9516 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.8934, allocations: 102 kB / 0.9517 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.8934, allocations: 27.08 kB / 0.9517 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.8935, allocations: 80.14 kB / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.8935, allocations: 13.22 kB / 0.9518 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.8935, allocations: 12.47 kB / 0.9518 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.8936, allocations: 312.2 kB / 0.9521 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.8937, allocations: 32.09 kB / 0.9522 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.8937, allocations: 13.61 kB / 0.9522 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.8939, allocations: 40.08 kB / 0.9522 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8939, allocations: 0 / 0.9522 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001803/0.8941, allocations: 67.66 kB / 0.9523 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.8941, allocations: 9.531 kB / 0.9523 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.8941, allocations: 0 / 0.9523 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8941, allocations: 1.375 kB / 0.9523 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.8942, allocations: 9.484 kB / 0.9523 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.8943, allocations: 1.375 kB / 0.9523 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.8943, allocations: 6.688 kB / 0.9523 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.8943, allocations: 1.375 kB / 0.9523 GB, free: 6.215 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.143e-05/0.8944, allocations: 115.1 kB / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.8944, allocations: 9.281 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.8946, allocations: 70.22 kB / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.8947, allocations: 1.062 kB / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8947, allocations: 0 / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.8947, allocations: 0 / 0.9525 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.8948, allocations: 162.8 kB / 0.9526 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.8948, allocations: 3.938 kB / 0.9526 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.8949, allocations: 10.59 kB / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8949, allocations: 0 / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.8949, allocations: 0 / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.8949, allocations: 1.5 kB / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8949, allocations: 0 / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.8951, allocations: 167.5 kB / 0.9528 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.8951, allocations: 81.12 kB / 0.9529 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.8951, allocations: 9.625 kB / 0.9529 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.8952, allocations: 3.688 kB / 0.9529 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.8953, allocations: 5.641 kB / 0.9529 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.8953, allocations: 0 / 0.9529 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.8953, allocations: 83.34 kB / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8953, allocations: 0 / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002057/0.8955, allocations: 3.031 kB / 0.953 GB, free: 5.477 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.0001251/0.8956, allocations: 101.8 kB / 0.9531 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.8959, allocations: 41.05 kB / 0.9531 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8959, allocations: 3.938 kB / 0.9531 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.896, allocations: 19.89 kB / 0.9532 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.8963, allocations: 5.719 kB / 0.9532 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.8965, allocations: 107.3 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.8966, allocations: 0.6766 MB / 0.9539 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.334e-05/0.8967, allocations: 1.094 kB / 0.9539 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.8967, allocations: 9.031 kB / 0.9539 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8967, allocations: 0 / 0.9539 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of Templates: time 0.002348/0.8991, allocations: 372 kB / 0.9543 GB, free: 4.336 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