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.001462/0.001462, 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.001746/0.001746, allocations: 191.3 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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.687/2.687, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 64.14 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7022, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002162/0.7045, allocations: 0.6836 MB / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.7056, allocations: 0.804 MB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.7056, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.7057, allocations: 0 / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.408e-05/0.7058, allocations: 4 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.706, allocations: 7.984 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.7061, allocations: 19.92 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.46e-05/0.7061, allocations: 4 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.7062, allocations: 15.86 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.7063, allocations: 8 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.7063, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.7064, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.7064, allocations: 3.938 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.7064, allocations: 12 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.935e-05/0.7065, allocations: 27.83 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7065, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.973e-06/0.7065, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.7066, allocations: 0 / 1.018 GB, free: 1.164 MB / 0.7637 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.0005143/0.7071, allocations: 325.5 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.7071, allocations: 12.03 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.7072, allocations: 0.9375 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.7073, allocations: 168.3 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.7074, allocations: 4.375 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.7074, allocations: 4.375 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.7075, allocations: 34.27 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7075, allocations: 8.109 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.7076, allocations: 3.938 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.7076, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.589e-05/0.7076, allocations: 8 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.7079, allocations: 153.7 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.095e-05/0.7079, allocations: 26.59 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.708, allocations: 12.92 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.708, allocations: 4 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.708, allocations: 34.55 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.708, allocations: 0 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0002753/0.7083, allocations: 61.66 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.7084, allocations: 51.41 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.7085, allocations: 105.8 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.7085, allocations: 29.7 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.7086, allocations: 80.14 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.7086, allocations: 3.906 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.7086, allocations: 13.72 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.7088, allocations: 318.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.7088, allocations: 8.031 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.7088, allocations: 7.984 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.7089, allocations: 21.05 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.7089, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001065/0.709, allocations: 53.67 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.7091, allocations: 8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.7091, allocations: 4.031 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.7091, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.357e-05/0.7092, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7092, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.7092, allocations: 3.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.7092, allocations: 3.984 kB / 1.02 GB, free: 15.39 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 7.698e-05/0.7093, allocations: 109.8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.7093, allocations: 3.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.7094, allocations: 7.062 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7094, allocations: 4 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7094, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7094, allocations: 4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.7095, allocations: 149.7 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7095, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.7095, allocations: 11.92 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.7096, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.7096, allocations: 3.938 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.7096, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.7096, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.7097, allocations: 73.11 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.137e-05/0.7098, allocations: 81.02 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.7098, allocations: 7.922 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-05/0.7098, allocations: 8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.7099, allocations: 0 / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.7099, allocations: 3.938 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.7099, allocations: 79.28 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7099, allocations: 4.031 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001752/0.7101, allocations: 4 kB / 1.02 GB, free: 14.75 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.0001454/0.7103, allocations: 104.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.7104, allocations: 23.92 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7104, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.7104, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.7106, allocations: 8.125 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.7109, allocations: 102.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.7112, allocations: 0.6768 MB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.544e-05/0.7112, allocations: 4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.7112, allocations: 7.438 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7112, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of Templates: time 0.002217/0.7134, allocations: 266.9 kB / 1.022 GB, free: 13.5 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