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.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.001016/0.001016, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009918/0.0009918, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9307/0.9307, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.259/2.259, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.34e-05, allocations: 5.859 kB / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001394/0.001427, allocations: 0.6315 MB / 0.8789 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.002347, allocations: 0.8609 MB / 0.8797 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.002378, allocations: 0 / 0.8797 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.002401, allocations: 1.406 kB / 0.8797 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.002456, allocations: 10 kB / 0.8797 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.002631, allocations: 8.766 kB / 0.8797 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.002695, allocations: 24.95 kB / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.65e-05/0.002732, allocations: 0 / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.002872, allocations: 23.91 kB / 0.8798 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.002916, allocations: 7.406 kB / 0.8798 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.00293, allocations: 0 / 0.8798 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.002972, allocations: 4 kB / 0.8798 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-06/0.002982, allocations: 4 kB / 0.8798 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.846e-05/0.003, allocations: 11.92 kB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.174e-05/0.003092, allocations: 15.92 kB / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.003095, allocations: 0 / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/0.003096, allocations: 4 kB / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.003101, allocations: 0 / 0.8798 GB, free: 5.02 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003344/0.003435, allocations: 357.2 kB / 0.8801 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.003477, allocations: 9.5 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.003602, allocations: 8.938 kB / 0.8802 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.591e-05/0.003698, allocations: 116.5 kB / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.003711, allocations: 4.375 kB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.00372, allocations: 1.906 kB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.003839, allocations: 42.97 kB / 0.8803 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.003846, allocations: 192 / 0.8803 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.003855, allocations: 4.375 kB / 0.8803 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.003862, allocations: 384 / 0.8803 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.032e-05/0.003883, allocations: 11.86 kB / 0.8803 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.004007, allocations: 112.6 kB / 0.8804 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.072e-05/0.004048, allocations: 27.09 kB / 0.8805 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.004066, allocations: 7.688 kB / 0.8805 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.00408, allocations: 0 / 0.8805 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.004105, allocations: 41.38 kB / 0.8805 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.004106, allocations: 4 kB / 0.8805 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.004235, allocations: 37.64 kB / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.004266, allocations: 55.53 kB / 0.8806 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.00434, allocations: 165.9 kB / 0.8808 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.004349, allocations: 29.7 kB / 0.8808 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.004389, allocations: 126.9 kB / 0.8809 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.004411, allocations: 3.953 kB / 0.8809 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.004435, allocations: 19.38 kB / 0.8809 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.004579, allocations: 496.1 kB / 0.8814 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.004599, allocations: 3.984 kB / 0.8814 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.929e-06/0.004609, allocations: 0 / 0.8814 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.004642, allocations: 11.94 kB / 0.8814 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.004644, allocations: 4.062 kB / 0.8814 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.699e-05/0.004721, allocations: 41.64 kB / 0.8815 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.004735, allocations: 4 kB / 0.8815 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.00474, allocations: 0 / 0.8815 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.004755, allocations: 0 / 0.8815 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.73e-05/0.004822, allocations: 7.984 kB / 0.8815 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.004827, allocations: 0 / 0.8815 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.004849, allocations: 3.938 kB / 0.8815 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.004856, allocations: 0 / 0.8815 GB, free: 3.09 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 (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 6.158e-05/0.004917, allocations: 164.6 kB / 0.8816 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-06/0.004923, allocations: 0 / 0.8816 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.856e-05/0.004942, allocations: 3.156 kB / 0.8816 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.004943, allocations: 0 / 0.8816 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.004947, allocations: 4 kB / 0.8817 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.004952, allocations: 7.922 kB / 0.8817 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.748e-05/0.00501, allocations: 108.6 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00501, allocations: 4 kB / 0.8818 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.005024, allocations: 0 / 0.8818 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.005026, allocations: 0 / 0.8818 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.005032, allocations: 3.984 kB / 0.8818 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.005033, allocations: 8 kB / 0.8818 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005034, allocations: 0 / 0.8818 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.197e-05/0.005096, allocations: 72.33 kB / 0.8818 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.005101, allocations: 3.953 kB / 0.8819 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.00511, allocations: 7.922 kB / 0.8819 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/0.005119, allocations: 0 / 0.8819 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.005148, allocations: 4 kB / 0.8819 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.005149, allocations: 0 / 0.8819 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.00518, allocations: 127.2 kB / 0.882 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00518, allocations: 0 / 0.882 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001149/0.005295, allocations: 7.969 kB / 0.882 GB, free: 2.504 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 (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 8.066e-05/0.005376, allocations: 103.2 kB / 0.8821 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.342e-05/0.005449, allocations: 15.62 kB / 0.8821 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005451, allocations: 0 / 0.8821 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.005463, allocations: 7.688 kB / 0.8821 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.005584, allocations: 8 kB / 0.8821 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.006016, allocations: 118.6 kB / 0.8822 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.09e-05/0.006047, allocations: 55.34 kB / 0.8823 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.531e-05/0.006062, allocations: 4 kB / 0.8823 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.006086, allocations: 8.5 kB / 0.8823 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/0.006087, allocations: 0 / 0.8823 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of Templates: time 0.001736/0.007823, allocations: 308 kB / 0.8826 GB, free: 1.828 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] 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","",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.484213487012312]