Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009436, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.0119/0.0119, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.902/2.902, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004101, allocations: 12 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6878/0.6883, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.0009987/0.6893, allocations: 356.9 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.6906, allocations: 0.804 MB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.6906, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.6907, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.945e-05/0.6907, allocations: 3.938 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.6909, allocations: 7.984 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.278e-05/0.691, allocations: 19.94 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.574e-05/0.6911, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.6912, allocations: 15.92 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.6913, allocations: 7.984 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.6913, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.6913, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.6914, allocations: 11.98 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.6914, allocations: 29.64 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.356e-05/0.6915, allocations: 15.92 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.6915, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6915, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.6915, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004411/0.692, allocations: 329.5 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.6921, allocations: 16.02 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.6921, allocations: 0.9375 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.6923, allocations: 164.3 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.6923, allocations: 8.312 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.6923, allocations: 4.312 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.6925, allocations: 38.25 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.6925, allocations: 4.188 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.6925, allocations: 3.938 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.6925, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.6926, allocations: 19.98 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.6929, allocations: 153.7 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/0.693, allocations: 22.52 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.693, allocations: 24.91 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.6931, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.6931, allocations: 30.56 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/0.6931, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000275/0.6934, allocations: 69.7 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.6935, allocations: 51.41 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.448e-05/0.6936, allocations: 101.9 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.6936, allocations: 25.7 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.6936, allocations: 84.14 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.6937, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.6937, allocations: 13.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6938, allocations: 318.8 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.6939, allocations: 12.03 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.509e-05/0.6939, allocations: 7.984 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.756e-05/0.694, allocations: 28.84 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.694, allocations: 0 / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001258/0.6942, allocations: 53.66 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6942, allocations: 7.938 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6942, allocations: 3.938 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6942, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.6943, allocations: 4 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6943, allocations: 0 / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.6944, allocations: 19.86 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.6944, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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 8.256e-05/0.6945, allocations: 113.9 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.6945, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.6945, allocations: 7.062 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.6945, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6945, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.6945, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.6946, allocations: 153.7 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6946, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.6947, allocations: 7.984 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6947, allocations: 4 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.6947, allocations: 11.88 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6947, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6947, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.6949, allocations: 69.12 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.6949, allocations: 81.09 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.6949, allocations: 7.969 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.684e-05/0.695, allocations: 4 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.695, allocations: 3.938 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.695, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.6951, allocations: 87.52 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6951, allocations: 4 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001784/0.6953, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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.0001408/0.6954, allocations: 107.2 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000131/0.6956, allocations: 19.98 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6956, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.6956, allocations: 8 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.6958, allocations: 5.703 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.6961, allocations: 128.5 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.6964, allocations: 0.6809 MB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.6964, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.6964, allocations: 7.438 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.6964, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.002258/0.6987, allocations: 243 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches