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.001391/0.001391, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001652/0.001652, allocations: 170 kB / 23.27 MB, free: 1.223 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.9694/0.9694, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.372/2.372, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 2.414e-06/2.414e-06, allocations: 0 / 0.8898 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.314e-05/3.556e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001702/0.001737, allocations: 0.6716 MB / 0.8905 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.00301, allocations: 0.8665 MB / 0.8913 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.003065, allocations: 0 / 0.8913 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.785e-05/0.003103, allocations: 0 / 0.8913 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.003215, allocations: 11.88 kB / 0.8913 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.003462, allocations: 15.92 kB / 0.8914 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.588e-05/0.003528, allocations: 27.92 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.003607, allocations: 3.984 kB / 0.8914 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.47e-05/0.003681, allocations: 11.98 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.003714, allocations: 11.94 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.003729, allocations: 4 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.261e-05/0.003772, allocations: 4 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.003787, allocations: 3.984 kB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.417e-05/0.003801, allocations: 4 kB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.518e-05/0.003896, allocations: 31.84 kB / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003898, allocations: 0 / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.82e-07/0.003899, allocations: 0 / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.003902, allocations: 0 / 0.8915 GB, free: 7.977 MB / 0.8542 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.0002955/0.004198, allocations: 364.6 kB / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.004237, allocations: 12.62 kB / 0.8918 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/0.004314, allocations: 4.891 kB / 0.8918 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.641e-05/0.00439, allocations: 108.6 kB / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.0044, allocations: 384 / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-06/0.004405, allocations: 384 / 0.8919 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.671e-05/0.004502, allocations: 62.94 kB / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004508, allocations: 192 / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.004515, allocations: 384 / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.00452, allocations: 384 / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.00454, allocations: 15.86 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.00475, allocations: 228.4 kB / 0.8922 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.567e-05/0.004796, allocations: 27.06 kB / 0.8922 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.336e-05/0.004809, allocations: 11.75 kB / 0.8923 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.004827, allocations: 0 / 0.8923 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.00485, allocations: 41.42 kB / 0.8923 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.004851, allocations: 4 kB / 0.8923 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.00011/0.004961, allocations: 41.58 kB / 0.8923 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.004989, allocations: 55.41 kB / 0.8924 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.005057, allocations: 161.9 kB / 0.8925 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.005069, allocations: 25.7 kB / 0.8926 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.125e-05/0.00512, allocations: 130.8 kB / 0.8927 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.00514, allocations: 7.938 kB / 0.8927 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.00517, allocations: 19.38 kB / 0.8927 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.005305, allocations: 492.1 kB / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.005321, allocations: 8.109 kB / 0.8932 GB, free: 6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.00533, allocations: 4 kB / 0.8932 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.164e-05/0.005362, allocations: 15.62 kB / 0.8932 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.005364, allocations: 0 / 0.8932 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.677e-05/0.005431, allocations: 41.66 kB / 0.8933 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.005445, allocations: 4 kB / 0.8933 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.00545, allocations: 3.938 kB / 0.8933 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.005465, allocations: 7.938 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.005536, allocations: 7.984 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.00554, allocations: 96 / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.005555, allocations: 4 kB / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.005562, allocations: 4 kB / 0.8933 GB, free: 5.898 MB / 0.8542 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 8.341e-05/0.005645, allocations: 156.6 kB / 0.8934 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.005656, allocations: 0 / 0.8934 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.005758, allocations: 48.94 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.005762, allocations: 3.938 kB / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.005764, allocations: 0 / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.005769, allocations: 4 kB / 0.8935 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.47e-05/0.005863, allocations: 93.25 kB / 0.8936 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.005866, allocations: 12.03 kB / 0.8936 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.005888, allocations: 4 kB / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005889, allocations: 0 / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.005894, allocations: 0 / 0.8936 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.005895, allocations: 3.984 kB / 0.8936 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.005896, allocations: 0 / 0.8936 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.912e-05/0.005995, allocations: 191.8 kB / 0.8938 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.006003, allocations: 3.953 kB / 0.8938 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.006011, allocations: 0 / 0.8938 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.08e-05/0.006042, allocations: 7.984 kB / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.00607, allocations: 4.031 kB / 0.8938 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.006072, allocations: 3.938 kB / 0.8938 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.006115, allocations: 131.3 kB / 0.8939 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.006115, allocations: 0 / 0.8939 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001302/0.006245, allocations: 4 kB / 0.8939 GB, free: 5.176 MB / 0.8542 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 9.303e-05/0.006338, allocations: 91.25 kB / 0.894 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.222e-05/0.006411, allocations: 23.69 kB / 0.894 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.006412, allocations: 0 / 0.894 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.719e-05/0.006429, allocations: 15.69 kB / 0.8941 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.006615, allocations: 7.984 kB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.007005, allocations: 118.5 kB / 0.8942 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.007041, allocations: 55.3 kB / 0.8942 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.661e-05/0.007057, allocations: 4 kB / 0.8942 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.007103, allocations: 74.12 kB / 0.8943 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of SimCode: time 6.12e-07/0.007103, allocations: 4 kB / 0.8943 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of Templates: time 0.001936/0.009039, allocations: 0.5069 MB / 0.8948 GB, free: 4.223 MB / 0.8542 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.311252532992512]