Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001194/0.001194, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001389/0.001389, allocations: 168.6 kB / 24.86 MB, free: 8.883 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 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.954/1.954, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.253e-05, allocations: 3.094 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001372/0.001395, allocations: 0.6267 MB / 0.8134 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007792/0.002174, allocations: 0.8625 MB / 0.8143 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.002202, allocations: 0 / 0.8143 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.002224, allocations: 1.031 kB / 0.8143 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.002273, allocations: 3.984 kB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.002424, allocations: 12.72 kB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.092e-05/0.002485, allocations: 23.86 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.002534, allocations: 1.688 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.002653, allocations: 23.91 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.82e-05/0.002692, allocations: 4 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.002704, allocations: 4 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 3.66e-05/0.00274, allocations: 5.531 kB / 0.8144 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.002751, allocations: 4 kB / 0.8144 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.319e-05/0.002764, allocations: 7.922 kB / 0.8144 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 7.747e-05/0.002841, allocations: 15.98 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002843, allocations: 1.75 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002844, allocations: 0 / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.002847, allocations: 0 / 0.8144 GB, free: 15.84 MB / 0.7761 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.0002653/0.003112, allocations: 360.6 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.003144, allocations: 9.219 kB / 0.8147 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.00324, allocations: 8.938 kB / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.484e-05/0.003315, allocations: 116.5 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.003324, allocations: 1.969 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-06/0.003329, allocations: 384 / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.951e-05/0.003398, allocations: 46.95 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003405, allocations: 192 / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.003411, allocations: 2.969 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.003417, allocations: 384 / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.147e-05/0.003428, allocations: 7.922 kB / 0.8149 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.092e-05/0.003519, allocations: 93.27 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.444e-05/0.003553, allocations: 31.03 kB / 0.815 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.331e-05/0.003567, allocations: 11.69 kB / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.003576, allocations: 0.7188 kB / 0.815 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.003593, allocations: 33.39 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.003594, allocations: 0.5312 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 9.458e-05/0.003689, allocations: 43.36 kB / 0.8151 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.003716, allocations: 51.41 kB / 0.8152 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.872e-05/0.003774, allocations: 165.8 kB / 0.8153 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.003783, allocations: 25.7 kB / 0.8153 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.003814, allocations: 135.4 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.003833, allocations: 0.5312 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.003862, allocations: 23.36 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.003963, allocations: 0.4892 MB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-06/0.003971, allocations: 0 / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-06/0.003977, allocations: 1.156 kB / 0.816 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.129e-05/0.003998, allocations: 11.69 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004, allocations: 1.375 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.849e-05/0.004038, allocations: 33.69 kB / 0.816 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.004049, allocations: 8 kB / 0.816 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.004053, allocations: 4.438 kB / 0.816 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.00406, allocations: 1.031 kB / 0.816 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.004103, allocations: 0 / 0.816 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.004106, allocations: 0 / 0.816 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.00412, allocations: 8.891 kB / 0.816 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.004126, allocations: 3.938 kB / 0.816 GB, free: 13.94 MB / 0.7761 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 5.52e-05/0.004181, allocations: 153.4 kB / 0.8162 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-06/0.004188, allocations: 7.953 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.004205, allocations: 9.312 kB / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.004207, allocations: 0 / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.004208, allocations: 256 / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004211, allocations: 0 / 0.8162 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.455e-05/0.004265, allocations: 105.2 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.004266, allocations: 0 / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.004278, allocations: 6.656 kB / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-07/0.004278, allocations: 0 / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-06/0.004282, allocations: 0 / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-07/0.004282, allocations: 0 / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004283, allocations: 0 / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.739e-05/0.00434, allocations: 80.3 kB / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-06/0.004347, allocations: 0 / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.004357, allocations: 5.625 kB / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-06/0.004366, allocations: 0 / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.004384, allocations: 0 / 0.8164 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.004388, allocations: 7.922 kB / 0.8164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.06e-05/0.004418, allocations: 127.7 kB / 0.8165 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004418, allocations: 0 / 0.8165 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001093/0.004528, allocations: 4.531 kB / 0.8165 GB, free: 13.39 MB / 0.7761 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 6.276e-05/0.00459, allocations: 92.59 kB / 0.8166 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.267e-05/0.004643, allocations: 12.53 kB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.01e-07/0.004644, allocations: 0 / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.004658, allocations: 20.27 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.702e-05/0.004755, allocations: 11.56 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.00506, allocations: 122.4 kB / 0.8168 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.41e-05/0.005084, allocations: 51.36 kB / 0.8168 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.287e-05/0.005097, allocations: 0 / 0.8168 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.005128, allocations: 70.2 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.005129, allocations: 0 / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of Templates: time 0.001512/0.006641, allocations: 328 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.1821682108566165]