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.001138/0.001138, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001724/0.001724, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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/1, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.003/2.003, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.655e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.003047/0.003074, allocations: 0.673 MB / 0.7608 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.004389, allocations: 0.8643 MB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.004437, allocations: 0 / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.004477, allocations: 0 / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.162e-05/0.004569, allocations: 12.31 kB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.004778, allocations: 8.641 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.004862, allocations: 17.03 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.004912, allocations: 3.984 kB / 0.7616 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.005138, allocations: 17.08 kB / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.005204, allocations: 10.11 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.005221, allocations: 0.6562 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.533e-05/0.005297, allocations: 7.938 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.005317, allocations: 8.875 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.00534, allocations: 2.234 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.005473, allocations: 20.58 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005476, allocations: 0 / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.144e-06/0.005478, allocations: 0 / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.005483, allocations: 1.25 kB / 0.7617 GB, free: 4.934 MB / 0.7136 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.0003421/0.005825, allocations: 222.3 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.005867, allocations: 12.03 kB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.006012, allocations: 9.641 kB / 0.7619 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.006123, allocations: 114.3 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.006136, allocations: 4.375 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.006143, allocations: 2.031 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.00624, allocations: 46.95 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006248, allocations: 192 / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.006255, allocations: 384 / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.006267, allocations: 1.312 kB / 0.7621 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.006288, allocations: 11.88 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.331e-05/0.006381, allocations: 62.34 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.238e-05/0.006423, allocations: 15.12 kB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.006436, allocations: 4.859 kB / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.006448, allocations: 0.625 kB / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.006472, allocations: 34.56 kB / 0.7622 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.006473, allocations: 0.75 kB / 0.7622 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.006583, allocations: 35.16 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.006619, allocations: 55.39 kB / 0.7623 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.006688, allocations: 111.5 kB / 0.7624 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.0067, allocations: 25.7 kB / 0.7624 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.006726, allocations: 80.8 kB / 0.7625 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.006747, allocations: 0 / 0.7625 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.006779, allocations: 24.81 kB / 0.7625 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.00687, allocations: 315.4 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-06/0.006879, allocations: 0 / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-06/0.006887, allocations: 4 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.006913, allocations: 4.859 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006915, allocations: 4 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.925e-05/0.006974, allocations: 40.75 kB / 0.7629 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.006988, allocations: 4.766 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.006993, allocations: 0 / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.007007, allocations: 256 / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.007067, allocations: 4 kB / 0.7629 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.007071, allocations: 4 kB / 0.7629 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.007091, allocations: 3.984 kB / 0.7629 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.007097, allocations: 4 kB / 0.7629 GB, free: 3.555 MB / 0.7136 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.983e-05/0.007167, allocations: 116.2 kB / 0.763 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.007174, allocations: 0 / 0.763 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.007194, allocations: 7.156 kB / 0.763 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007195, allocations: 4 kB / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.007197, allocations: 0 / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.007199, allocations: 3.031 kB / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.772e-05/0.007267, allocations: 74.98 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007268, allocations: 0 / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.007293, allocations: 0 / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.007297, allocations: 4 kB / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.007301, allocations: 0 / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007303, allocations: 0 / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007304, allocations: 0 / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.86e-05/0.007383, allocations: 75.72 kB / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.007389, allocations: 0 / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.007398, allocations: 0 / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.007415, allocations: 0 / 0.7632 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.007439, allocations: 8.859 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.007442, allocations: 0 / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.388e-05/0.007456, allocations: 8.859 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.007456, allocations: 0.5 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000165/0.007621, allocations: 5.562 kB / 0.7632 GB, free: 3.219 MB / 0.7136 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.0001282/0.00775, allocations: 76.42 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.029e-05/0.00782, allocations: 18.06 kB / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.007823, allocations: 0 / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.007838, allocations: 9.516 kB / 0.7633 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.055e-05/0.007929, allocations: 8.531 kB / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.008422, allocations: 118.5 kB / 0.7634 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.008463, allocations: 55.34 kB / 0.7635 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.008491, allocations: 4.875 kB / 0.7635 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.00854, allocations: 52.14 kB / 0.7635 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/0.008541, allocations: 0.5312 kB / 0.7635 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of Templates: time 0.002378/0.01092, allocations: 289.1 kB / 0.7638 GB, free: 2.551 MB / 0.7136 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 -s gbode -gbm=radauIIA3 -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.253825546242297]