Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007207/0.007207, allocations: 102 kB / 15.73 MB, free: 6.016 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.001498/0.001498, allocations: 193.4 kB / 16.68 MB, free: 5.93 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.91 kB / 1.065 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9667/0.9679, allocations: 159.1 MB / 1.221 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002089/0.97, allocations: 0.6641 MB / 1.221 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.971, allocations: 0.804 MB / 1.222 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.9711, allocations: 4 kB / 1.222 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.9711, allocations: 4 kB / 1.222 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.274e-05/0.9712, allocations: 3.938 kB / 1.222 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.9713, allocations: 7.984 kB / 1.222 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.824e-05/0.9714, allocations: 27.92 kB / 1.222 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.9715, allocations: 0 / 1.222 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.239e-05/0.9716, allocations: 11.94 kB / 1.222 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.9716, allocations: 15.97 kB / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.9716, allocations: 0 / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.9716, allocations: 4 kB / 1.222 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.9717, allocations: 3.938 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.9717, allocations: 15.98 kB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.533e-05/0.9718, allocations: 23.84 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9718, allocations: 0 / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9718, allocations: 0 / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.9718, allocations: 0 / 1.222 GB, free: 0.5039 MB / 0.9356 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.0004519/0.9722, allocations: 336 kB / 1.223 GB, free: 132 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.9723, allocations: 12.03 kB / 1.223 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.9723, allocations: 4.891 kB / 1.223 GB, free: 116 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.9724, allocations: 160.4 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.9725, allocations: 4.375 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.9725, allocations: 8.312 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.9726, allocations: 50.23 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.9727, allocations: 4.188 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.9727, allocations: 3.938 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9727, allocations: 0 / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.9728, allocations: 39.89 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.9732, allocations: 256.9 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.9733, allocations: 46.41 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.293e-05/0.9734, allocations: 20.91 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.9734, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.9734, allocations: 34.56 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.9734, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003291/0.9737, allocations: 85.58 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.9738, allocations: 51.41 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.872e-05/0.9739, allocations: 101.8 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.9739, allocations: 29.7 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.9739, allocations: 88.22 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.9739, allocations: 3.953 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.974, allocations: 17.72 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9741, allocations: 310.8 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.961e-05/0.9742, allocations: 19.97 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-05/0.9742, allocations: 15.98 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.9744, allocations: 36.89 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9744, allocations: 3.938 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001844/0.9745, allocations: 69.59 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.9746, allocations: 4 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.9746, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.9746, allocations: 4 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.9747, allocations: 7.984 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.9747, allocations: 4.031 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.9747, allocations: 8 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.9747, allocations: 3.984 kB / 1.224 GB, free: 14.47 MB / 0.9512 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.218e-05/0.9748, allocations: 114.3 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.9748, allocations: 0 / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.975, allocations: 72.72 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.975, allocations: 8.031 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.975, allocations: 0 / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.975, allocations: 0 / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.9752, allocations: 165.6 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9752, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.9753, allocations: 8 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9753, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.9753, allocations: 3.938 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9753, allocations: 3.938 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9753, allocations: 3.984 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.9755, allocations: 167.4 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.9756, allocations: 85.09 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.9756, allocations: 0 / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.9756, allocations: 8 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.9757, allocations: 7.984 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.9757, allocations: 4.031 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.284e-05/0.9757, allocations: 79.28 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9757, allocations: 0 / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000206/0.9759, allocations: 4 kB / 1.225 GB, free: 13.65 MB / 0.9512 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.0001334/0.9761, allocations: 99.25 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.9762, allocations: 35.95 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9762, allocations: 4.062 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.9763, allocations: 15.98 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.9766, allocations: 15.88 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.9769, allocations: 114 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.9771, allocations: 0.6768 MB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.9771, allocations: 0 / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.9772, allocations: 11.5 kB / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.9772, allocations: 0 / 1.226 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of Templates: time 0.002308/0.9795, allocations: 431.2 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches