Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_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_latest_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.007304/0.007305, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001385/0.001385, allocations: 199 kB / 16.68 MB, free: 5.926 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 67.91 kB / 1.054 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.056, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.003046/1.059, allocations: 0.6685 MB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001616/1.061, allocations: 0.8118 MB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/1.061, allocations: 0 / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.913e-05/1.061, allocations: 7.938 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/1.061, allocations: 0 / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/1.062, allocations: 11.91 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.925e-05/1.062, allocations: 20 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/1.062, allocations: 7.984 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.538e-05/1.062, allocations: 11.94 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.997e-05/1.062, allocations: 11.98 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/1.062, allocations: 3.938 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/1.062, allocations: 7.938 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/1.062, allocations: 4 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/1.062, allocations: 7.938 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/1.062, allocations: 27.94 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.062, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.705e-06/1.062, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.062, allocations: 0 / 1.209 GB, free: 11.98 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.000606/1.063, allocations: 339.3 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/1.063, allocations: 12.03 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/1.063, allocations: 4.938 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/1.063, allocations: 160.4 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/1.063, allocations: 4.375 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/1.063, allocations: 4.312 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/1.064, allocations: 50.23 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/1.064, allocations: 192 / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.064, allocations: 7.938 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.064, allocations: 0 / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/1.064, allocations: 39.89 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/1.065, allocations: 245 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/1.065, allocations: 42.5 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/1.065, allocations: 20.89 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/1.065, allocations: 0 / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/1.065, allocations: 38.56 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 4.428e-06/1.065, allocations: 0 / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0006174/1.066, allocations: 85.58 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/1.066, allocations: 55.41 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/1.066, allocations: 101.8 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/1.066, allocations: 25.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/1.066, allocations: 88.12 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/1.066, allocations: 7.844 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.775e-05/1.066, allocations: 13.72 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.066, allocations: 310.8 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/1.066, allocations: 24.02 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/1.067, allocations: 15.97 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/1.067, allocations: 44.77 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.067, allocations: 0 / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003049/1.067, allocations: 69.66 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.067, allocations: 8 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.067, allocations: 0 / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.067, allocations: 0 / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/1.067, allocations: 7.984 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.067, allocations: 4 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.957e-05/1.068, allocations: 0 / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/1.068, allocations: 4 kB / 1.211 GB, free: 9.961 MB / 0.9356 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 0.0001185/1.068, allocations: 113.8 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/1.068, allocations: 3.984 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/1.068, allocations: 76.72 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/1.068, allocations: 0 / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.068, allocations: 3.938 kB / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.068, allocations: 0 / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/1.068, allocations: 161.6 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.068, allocations: 0 / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.96e-05/1.069, allocations: 16.02 kB / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/1.069, allocations: 0 / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/1.069, allocations: 0 / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.069, allocations: 0 / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.069, allocations: 0 / 1.211 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/1.069, allocations: 171.3 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/1.069, allocations: 82.97 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/1.069, allocations: 4 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/1.069, allocations: 7.984 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/1.069, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-06/1.069, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.954e-05/1.069, allocations: 87.27 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/1.069, allocations: 0 / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003741/1.07, allocations: 4 kB / 1.212 GB, free: 9.145 MB / 0.9356 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.000209/1.07, allocations: 101.8 kB / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000337/1.07, allocations: 39.95 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.07, allocations: 0 / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/1.071, allocations: 23.92 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/1.071, allocations: 10.06 kB / 1.212 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/1.072, allocations: 118.2 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/1.072, allocations: 0.6768 MB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.695e-05/1.072, allocations: 0 / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/1.072, allocations: 11.44 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of SimCode: time 5.2e-07/1.072, allocations: 0 / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of Templates: time 0.004019/1.076, allocations: 438.7 kB / 1.213 GB, free: 7.68 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches