Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_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_latest_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.00126/0.00126, allocations: 100.1 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.001422/0.001422, 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.476/1.476, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 12 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7987/0.7991, allocations: 153.7 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.0008667/0.8001, allocations: 333.2 kB / 1.021 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008478/0.8009, allocations: 0.804 MB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.797e-05/0.801, allocations: 0 / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.801, allocations: 0 / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.801, allocations: 3.984 kB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.936e-05/0.8011, allocations: 4 kB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.8012, allocations: 19.91 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.8012, allocations: 4 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.8013, allocations: 11.94 kB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.8014, allocations: 11.97 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.8014, allocations: 3.938 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.8014, allocations: 0 / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.956e-06/0.8014, allocations: 0 / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.8015, allocations: 29.7 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.904e-05/0.8015, allocations: 7.984 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.8015, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8015, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.8015, allocations: 7.938 kB / 1.022 GB, free: 15.88 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.0003366/0.8019, allocations: 325.3 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.8019, allocations: 11.98 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.802, allocations: 7.984 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.8021, allocations: 163.1 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.8021, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.8021, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.8022, allocations: 49.58 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.8022, allocations: 4 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.8023, allocations: 0 / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.8023, allocations: 0 / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.8023, allocations: 15.98 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.8025, allocations: 153.7 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.498e-05/0.8026, allocations: 26.58 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.8026, allocations: 4 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.8026, allocations: 30.56 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.8026, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000207/0.8028, allocations: 69.53 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.8029, allocations: 55.53 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.8029, allocations: 105.8 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.803, allocations: 25.7 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.803, allocations: 80.14 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.803, allocations: 0 / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.8031, allocations: 4 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.8032, allocations: 310.8 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.074e-05/0.8032, allocations: 11.98 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.8032, allocations: 12 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.933e-05/0.8033, allocations: 11.98 kB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8033, allocations: 0 / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001044/0.8034, allocations: 53.62 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.8034, allocations: 4 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.8034, allocations: 4.094 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.8035, allocations: 3.953 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.8035, allocations: 7.938 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.8035, allocations: 0 / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.8036, allocations: 15.86 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.8036, allocations: 0 / 1.024 GB, free: 14.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.8037, allocations: 109.8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.8037, allocations: 3.906 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.8037, allocations: 11.12 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.8037, allocations: 3.953 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.8037, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.8037, allocations: 0 / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.62e-05/0.8038, allocations: 149.7 kB / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8038, allocations: 0 / 1.024 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.8039, allocations: 7.984 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8039, allocations: 0 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.8039, allocations: 256 / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8039, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8039, allocations: 7.953 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.804, allocations: 81.06 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.8041, allocations: 85.08 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.8041, allocations: 0 / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.11e-05/0.8041, allocations: 4 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.8042, allocations: 4.031 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.8042, allocations: 3.953 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.8042, allocations: 83.27 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8042, allocations: 0 / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001775/0.8044, allocations: 4 kB / 1.024 GB, free: 13.48 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 (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.0001235/0.8045, allocations: 99.25 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.8046, allocations: 27.92 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8046, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.972e-05/0.8047, allocations: 8 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.778e-05/0.8048, allocations: 7.938 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.805, allocations: 116.5 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.8053, allocations: 0.6811 MB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.251e-05/0.8053, allocations: 4 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.8053, allocations: 7.438 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8053, allocations: 0 / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.001796/0.8071, allocations: 232.1 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches