Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001363/0.001363, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001627/0.001627, allocations: 165 kB / 23.82 MB, free: 0.7461 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.006/1.006, allocations: 177.1 MB / 204.2 MB, free: 5.211 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.85/1.85, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.397e-06/3.397e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.421e-05/3.761e-05, allocations: 5.938 kB / 0.7871 GB, free: 12.44 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002042/0.002079, allocations: 0.6194 MB / 0.7877 GB, free: 11.84 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003253, allocations: 0.8679 MB / 0.7886 GB, free: 10.96 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.003288, allocations: 0 / 0.7886 GB, free: 10.96 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.00332, allocations: 0 / 0.7886 GB, free: 10.96 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.003381, allocations: 8.438 kB / 0.7886 GB, free: 10.95 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.003593, allocations: 9.156 kB / 0.7886 GB, free: 10.95 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 7.394e-05/0.003667, allocations: 19.92 kB / 0.7886 GB, free: 10.93 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.003711, allocations: 0 / 0.7886 GB, free: 10.93 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.003915, allocations: 32.34 kB / 0.7887 GB, free: 10.89 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.003977, allocations: 8.719 kB / 0.7887 GB, free: 10.89 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.003994, allocations: 0 / 0.7887 GB, free: 10.89 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 4.742e-05/0.004041, allocations: 8.891 kB / 0.7887 GB, free: 10.88 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.004054, allocations: 0 / 0.7887 GB, free: 10.88 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.004077, allocations: 4.656 kB / 0.7887 GB, free: 10.88 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.004211, allocations: 15.92 kB / 0.7887 GB, free: 10.86 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.004214, allocations: 5.594 kB / 0.7887 GB, free: 10.86 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004216, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.004221, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7449 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.0004161/0.004637, allocations: 356.6 kB / 0.789 GB, free: 10.47 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.004684, allocations: 11.5 kB / 0.7891 GB, free: 10.46 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.004852, allocations: 12.92 kB / 0.7891 GB, free: 10.45 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.004959, allocations: 116.6 kB / 0.7892 GB, free: 10.31 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.004971, allocations: 384 / 0.7892 GB, free: 10.31 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.004985, allocations: 4.359 kB / 0.7892 GB, free: 10.3 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.005107, allocations: 50.95 kB / 0.7892 GB, free: 10.25 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.005118, allocations: 192 / 0.7892 GB, free: 10.25 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.005127, allocations: 384 / 0.7892 GB, free: 10.25 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.005136, allocations: 4.312 kB / 0.7892 GB, free: 10.24 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.089e-05/0.005157, allocations: 4.531 kB / 0.7892 GB, free: 10.24 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.005301, allocations: 109.2 kB / 0.7893 GB, free: 10.1 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.005357, allocations: 32.73 kB / 0.7894 GB, free: 10.05 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.005381, allocations: 11.69 kB / 0.7894 GB, free: 10.04 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.005399, allocations: 0 / 0.7894 GB, free: 10.04 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.005426, allocations: 37.45 kB / 0.7894 GB, free: 9.992 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=1): time 2.445e-06/0.005428, allocations: 1.125 kB / 0.7894 GB, free: 9.992 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1): time 0.0001607/0.005589, allocations: 37.59 kB / 0.7895 GB, free: 9.949 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.005626, allocations: 51.41 kB / 0.7895 GB, free: 9.887 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.005725, allocations: 170.7 kB / 0.7897 GB, free: 9.703 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.005738, allocations: 25.7 kB / 0.7897 GB, free: 9.672 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.005788, allocations: 127.5 kB / 0.7898 GB, free: 9.543 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.005814, allocations: 0 / 0.7898 GB, free: 9.543 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.005856, allocations: 24.53 kB / 0.7898 GB, free: 9.512 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.005996, allocations: 496.1 kB / 0.7903 GB, free: 9.016 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.006012, allocations: 0 / 0.7903 GB, free: 9.016 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.006022, allocations: 0.75 kB / 0.7903 GB, free: 9.016 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.006061, allocations: 16.81 kB / 0.7903 GB, free: 8.996 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006063, allocations: 0 / 0.7903 GB, free: 8.996 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.417e-05/0.006137, allocations: 43.14 kB / 0.7904 GB, free: 8.949 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.006156, allocations: 7.984 kB / 0.7904 GB, free: 8.941 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006161, allocations: 0 / 0.7904 GB, free: 8.941 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.006179, allocations: 0 / 0.7904 GB, free: 8.941 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.006258, allocations: 4.5 kB / 0.7904 GB, free: 8.938 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.006264, allocations: 0 / 0.7904 GB, free: 8.938 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.006284, allocations: 4.5 kB / 0.7904 GB, free: 8.934 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.00629, allocations: 1.375 kB / 0.7904 GB, free: 8.934 MB / 0.7449 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 7.938e-05/0.006369, allocations: 156.6 kB / 0.7905 GB, free: 8.77 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.00638, allocations: 3.953 kB / 0.7905 GB, free: 8.766 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.894e-05/0.006409, allocations: 7.766 kB / 0.7905 GB, free: 8.758 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.006412, allocations: 4 kB / 0.7906 GB, free: 8.754 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006415, allocations: 1.969 kB / 0.7906 GB, free: 8.754 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.00643, allocations: 3.938 kB / 0.7906 GB, free: 8.75 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.974e-05/0.00651, allocations: 112.6 kB / 0.7907 GB, free: 8.605 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.006512, allocations: 0 / 0.7907 GB, free: 8.605 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.006545, allocations: 8.172 kB / 0.7907 GB, free: 8.598 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.006548, allocations: 0.625 kB / 0.7907 GB, free: 8.598 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.006556, allocations: 4 kB / 0.7907 GB, free: 8.594 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.006557, allocations: 4.719 kB / 0.7907 GB, free: 8.59 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006559, allocations: 1.219 kB / 0.7907 GB, free: 8.59 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.485e-05/0.006654, allocations: 72.38 kB / 0.7908 GB, free: 8.496 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-06/0.006663, allocations: 4 kB / 0.7908 GB, free: 8.492 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.006675, allocations: 0.625 kB / 0.7908 GB, free: 8.492 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.006695, allocations: 0 / 0.7908 GB, free: 8.492 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.006725, allocations: 4.594 kB / 0.7908 GB, free: 8.488 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006729, allocations: 1.125 kB / 0.7908 GB, free: 8.488 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 4.353e-05/0.006772, allocations: 127.2 kB / 0.7909 GB, free: 8.363 MB / 0.7449 GB Notification: Performance of sort global known variables: time 9e-08/0.006772, allocations: 0 / 0.7909 GB, free: 8.363 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001879/0.00696, allocations: 4.938 kB / 0.7909 GB, free: 8.359 MB / 0.7449 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.0001191/0.007079, allocations: 96.09 kB / 0.791 GB, free: 8.258 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.007184, allocations: 15.62 kB / 0.791 GB, free: 8.238 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.007187, allocations: 6.219 kB / 0.791 GB, free: 8.234 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.007206, allocations: 11.69 kB / 0.791 GB, free: 8.219 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.007362, allocations: 7.922 kB / 0.791 GB, free: 8.211 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.007938, allocations: 129 kB / 0.7911 GB, free: 8.059 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.007978, allocations: 55.36 kB / 0.7912 GB, free: 7.984 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.008e-05/0.007998, allocations: 0 / 0.7912 GB, free: 7.984 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.008029, allocations: 8.5 kB / 0.7912 GB, free: 7.973 MB / 0.7449 GB Notification: Performance of SimCode: time 6.71e-07/0.008029, allocations: 3.938 kB / 0.7912 GB, free: 7.969 MB / 0.7449 GB Notification: Performance of Templates: time 0.002393/0.01042, allocations: 307.2 kB / 0.7915 GB, free: 7.68 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.217110129073262]