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.001556/0.001556, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.00163/0.00163, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.736/2.736, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 73.17 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3817, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002206/0.384, allocations: 0.623 MB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.385, allocations: 0.8103 MB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.3851, allocations: 0 / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.3851, allocations: 3.984 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.3852, allocations: 3.938 kB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.3854, allocations: 11.94 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.595e-05/0.3854, allocations: 15.92 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.3855, allocations: 11.98 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.3856, allocations: 7.938 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.3857, allocations: 11.92 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.3857, allocations: 0 / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-06/0.3857, allocations: 0 / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.3858, allocations: 11.94 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.3858, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.3859, allocations: 23.89 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.386, allocations: 4 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.673e-06/0.386, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.386, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 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.0004546/0.3864, allocations: 331.5 kB / 1.029 GB, free: 124 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3865, allocations: 8.031 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.3865, allocations: 4.844 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3867, allocations: 164.4 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3867, allocations: 384 / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.3867, allocations: 4.359 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3869, allocations: 34.27 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3869, allocations: 192 / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3869, allocations: 3.938 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3869, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.387, allocations: 19.92 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.3872, allocations: 153.7 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.428e-05/0.3873, allocations: 30.59 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.3873, allocations: 8.922 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.3873, allocations: 0 / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3874, allocations: 34.56 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3874, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002311/0.3876, allocations: 61.55 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.3877, allocations: 51.41 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.3878, allocations: 106 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3878, allocations: 25.7 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.3878, allocations: 88.08 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3879, allocations: 3.906 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.3879, allocations: 13.72 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.388, allocations: 318.8 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.3881, allocations: 4 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.3881, allocations: 8 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.428e-05/0.3882, allocations: 20.84 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3882, allocations: 4 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.991e-05/0.3883, allocations: 53.55 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3883, allocations: 5.875 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3883, allocations: 3.938 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3884, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.3884, allocations: 8.094 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3885, allocations: 0 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.3885, allocations: 0 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3885, allocations: 8.234 kB / 1.03 GB, free: 14.72 MB / 0.8106 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.296e-05/0.3886, allocations: 117.8 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.3886, allocations: 0 / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.3886, allocations: 11.06 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3886, allocations: 4 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3887, allocations: 0 / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3887, allocations: 4 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.3888, allocations: 153.7 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3888, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.051e-05/0.3888, allocations: 3.984 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3888, allocations: 4 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3889, allocations: 3.938 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3889, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3889, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.389, allocations: 76.97 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.3891, allocations: 77.11 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.3891, allocations: 7.938 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.3891, allocations: 3.984 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.3891, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.3892, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.3892, allocations: 83.28 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3892, allocations: 7.938 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001759/0.3894, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 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.0001274/0.3895, allocations: 107.3 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.3897, allocations: 19.92 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3897, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.3897, allocations: 8 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.3899, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.3902, allocations: 106.9 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3904, allocations: 0.6729 MB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.3905, allocations: 4 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.3905, allocations: 7.438 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3905, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of Templates: time 0.002116/0.3926, allocations: 284.9 kB / 1.031 GB, free: 12.82 MB / 0.8106 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches