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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001523/0.001523, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001604/0.001604, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.657/2.657, allocations: 436.5 MB / 0.7104 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006264/0.0006265, allocations: 12 kB / 0.8708 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7932/0.7938, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001376/0.7953, allocations: 394.3 kB / 1.021 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.7966, allocations: 0.8002 MB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.7967, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.7967, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.7968, allocations: 4 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.7969, allocations: 11.98 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.797, allocations: 11.98 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.7971, allocations: 7.984 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.7972, allocations: 7.938 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.393e-05/0.7972, allocations: 7.984 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.7973, allocations: 4 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.7973, allocations: 0 / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.7973, allocations: 0 / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.7973, allocations: 29.64 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.616e-05/0.7974, allocations: 19.95 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.7974, allocations: 4 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7974, allocations: 0 / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.7974, allocations: 4 kB / 1.022 GB, free: 15.76 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004801/0.7979, allocations: 339 kB / 1.022 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.798, allocations: 15.92 kB / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.798, allocations: 0 / 1.022 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.7981, allocations: 167.1 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.7982, allocations: 4 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.7982, allocations: 0 / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.7984, allocations: 57.62 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.7984, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7984, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.7984, allocations: 0 / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.7986, allocations: 47.91 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.799, allocations: 252.9 kB / 1.023 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.7991, allocations: 42.56 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.7992, allocations: 4 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.7992, allocations: 30.56 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.7992, allocations: 0 / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004067/0.7996, allocations: 109.5 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.7997, allocations: 51.41 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.7998, allocations: 101.8 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.7998, allocations: 25.7 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.7999, allocations: 88.08 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.7999, allocations: 12.03 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.7999, allocations: 0 / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.8001, allocations: 310.8 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.8002, allocations: 19.98 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.8003, allocations: 27.97 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.492e-05/0.8003, allocations: 19.98 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8004, allocations: 4 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.8006, allocations: 85.61 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.8006, allocations: 4 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.8006, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8006, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.8007, allocations: 15.98 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.8008, allocations: 0 / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.8008, allocations: 8 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.8008, allocations: 4.031 kB / 1.024 GB, free: 13.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.801, allocations: 109.8 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.801, allocations: 11.89 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.8013, allocations: 88.7 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8013, allocations: 0 / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.8013, allocations: 0 / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8013, allocations: 0 / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.8015, allocations: 153.7 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8015, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.8016, allocations: 11.98 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.8016, allocations: 3.953 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.8016, allocations: 4 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.8016, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8016, allocations: 4.031 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.8019, allocations: 171.6 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.8019, allocations: 81.09 kB / 1.024 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.802, allocations: 11.98 kB / 1.024 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.8021, allocations: 7.984 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.8021, allocations: 3.938 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.8021, allocations: 4 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.8022, allocations: 83.27 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8022, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002211/0.8024, allocations: 4 kB / 1.025 GB, free: 12.9 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.8026, allocations: 109.4 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.8028, allocations: 43.95 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8028, allocations: 0 / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.831e-05/0.8029, allocations: 32.05 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.8032, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.8035, allocations: 118.5 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.8038, allocations: 0.6809 MB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.8039, allocations: 4.062 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.8039, allocations: 7.438 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8039, allocations: 0 / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of Templates: time 0.002552/0.8065, allocations: 345.9 kB / 1.026 GB, free: 11.51 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches