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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9944/0.9944, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.113/2.113, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.8783 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.824e-05, allocations: 3.344 kB / 0.8783 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001309/0.001327, allocations: 0.6875 MB / 0.8789 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.002117, allocations: 0.8653 MB / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.00215, allocations: 1.094 kB / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.002175, allocations: 0.875 kB / 0.8798 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/0.002236, allocations: 5.031 kB / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.002416, allocations: 13.73 kB / 0.8798 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.002485, allocations: 27.91 kB / 0.8798 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.27e-05/0.002568, allocations: 5.625 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.002641, allocations: 19.92 kB / 0.8798 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.259e-05/0.002673, allocations: 4 kB / 0.8798 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.002688, allocations: 0 / 0.8798 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.002728, allocations: 11.66 kB / 0.8799 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.002743, allocations: 7.984 kB / 0.8799 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.671e-05/0.00276, allocations: 4 kB / 0.8799 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.62e-05/0.002856, allocations: 23.91 kB / 0.8799 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.002858, allocations: 4 kB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002859, allocations: 0 / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.002863, allocations: 0 / 0.8799 GB, free: 4.91 MB / 0.8386 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.0003173/0.00318, allocations: 364.6 kB / 0.8802 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.003217, allocations: 8.031 kB / 0.8802 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.003322, allocations: 4.938 kB / 0.8803 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.833e-05/0.0034, allocations: 113.5 kB / 0.8804 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.003412, allocations: 4.375 kB / 0.8804 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.00342, allocations: 1.406 kB / 0.8804 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.003528, allocations: 54.95 kB / 0.8804 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.003533, allocations: 1.312 kB / 0.8804 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.003544, allocations: 8.344 kB / 0.8804 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.003551, allocations: 384 / 0.8804 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.885e-05/0.00358, allocations: 7.938 kB / 0.8804 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.003839, allocations: 244.9 kB / 0.8807 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.003886, allocations: 35.03 kB / 0.8807 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.003906, allocations: 12.72 kB / 0.8807 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.003921, allocations: 0 / 0.8807 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.00394, allocations: 34.05 kB / 0.8807 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 5.52e-07/0.00394, allocations: 0 / 0.8807 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000134/0.004074, allocations: 49.17 kB / 0.8808 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.004104, allocations: 55.41 kB / 0.8808 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.00417, allocations: 161.9 kB / 0.881 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.004179, allocations: 25.7 kB / 0.881 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.004222, allocations: 130.8 kB / 0.8812 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.004243, allocations: 3.953 kB / 0.8812 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.004267, allocations: 23.38 kB / 0.8812 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.004379, allocations: 496.1 kB / 0.8817 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.004392, allocations: 4 kB / 0.8817 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.004401, allocations: 0.7188 kB / 0.8817 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.004428, allocations: 16.28 kB / 0.8817 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.00443, allocations: 0.5312 kB / 0.8817 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.882e-05/0.004478, allocations: 50.7 kB / 0.8817 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.004491, allocations: 8 kB / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.004496, allocations: 7.922 kB / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.004509, allocations: 1.531 kB / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.004571, allocations: 4 kB / 0.8817 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.004575, allocations: 0 / 0.8817 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.004594, allocations: 7.938 kB / 0.8817 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.004598, allocations: 0.75 kB / 0.8817 GB, free: 2.812 MB / 0.8386 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/0.004663, allocations: 165.5 kB / 0.8819 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.004675, allocations: 0 / 0.8819 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/0.004749, allocations: 49.16 kB / 0.882 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.00475, allocations: 4.031 kB / 0.882 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.004754, allocations: 3.938 kB / 0.882 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.004757, allocations: 0 / 0.882 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.726e-05/0.004844, allocations: 108.6 kB / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.004845, allocations: 0 / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.004864, allocations: 7.984 kB / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.004865, allocations: 0 / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.004871, allocations: 4 kB / 0.8821 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.004872, allocations: 3.938 kB / 0.8821 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.004873, allocations: 0 / 0.8821 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.23e-05/0.004955, allocations: 188 kB / 0.8823 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.004962, allocations: 7.953 kB / 0.8823 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.004971, allocations: 0 / 0.8823 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.992e-05/0.005001, allocations: 7.938 kB / 0.8823 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.005035, allocations: 3.984 kB / 0.8823 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.005038, allocations: 4 kB / 0.8823 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.223e-05/0.00507, allocations: 123.2 kB / 0.8824 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00507, allocations: 7.875 kB / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000141/0.005211, allocations: 4 kB / 0.8824 GB, free: 2.062 MB / 0.8386 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.441e-05/0.005285, allocations: 95.28 kB / 0.8825 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.329e-05/0.005359, allocations: 15.67 kB / 0.8825 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.00536, allocations: 4 kB / 0.8825 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/0.005375, allocations: 11.69 kB / 0.8825 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.005548, allocations: 4 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.005948, allocations: 122.4 kB / 0.8827 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.005982, allocations: 63.47 kB / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.503e-05/0.005997, allocations: 336 / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.006019, allocations: 8.5 kB / 0.8827 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/0.006019, allocations: 0 / 0.8827 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of Templates: time 0.001858/0.007878, allocations: 482.4 kB / 0.8832 GB, free: 1.219 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.736069537000731]