Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001026/0.001026, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009261/0.0009261, allocations: 161 kB / 24.17 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 0.9858/0.9858, allocations: 177.1 MB / 204.6 MB, free: 5.488 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 1.923/1.923, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] 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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.253e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001451/0.001474, allocations: 0.691 MB / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000906/0.002379, allocations: 0.8682 MB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.002413, allocations: 4 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.002441, allocations: 1.719 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.002504, allocations: 5.797 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.002662, allocations: 8.875 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.869e-05/0.002731, allocations: 19.92 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.903e-05/0.00281, allocations: 17.16 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.371e-05/0.002883, allocations: 9.75 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.345e-05/0.002917, allocations: 9.078 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.002929, allocations: 0.9062 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.259e-05/0.002971, allocations: 11.94 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.002986, allocations: 0.6562 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.003002, allocations: 13.61 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.964e-05/0.003092, allocations: 21.83 kB / 0.7617 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003094, allocations: 4.5 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.91e-07/0.003095, allocations: 0 / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.003098, allocations: 0.6875 kB / 0.7617 GB, free: 4.902 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002638/0.003362, allocations: 230 kB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.003393, allocations: 8.031 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.003476, allocations: 14.19 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.22e-05/0.003548, allocations: 110.5 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.003558, allocations: 384 / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.003566, allocations: 2.156 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.861e-05/0.003664, allocations: 50.95 kB / 0.7621 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.003672, allocations: 4.172 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.003678, allocations: 384 / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.003684, allocations: 1.594 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.003706, allocations: 15.86 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.0039, allocations: 140.3 kB / 0.7623 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.087e-05/0.003941, allocations: 24.67 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.003956, allocations: 8.922 kB / 0.7623 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.00397, allocations: 0.6562 kB / 0.7623 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.00399, allocations: 30.56 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.003991, allocations: 0 / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001101/0.004101, allocations: 42.39 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.004135, allocations: 60.22 kB / 0.7624 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.602e-05/0.004191, allocations: 106.7 kB / 0.7625 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.004202, allocations: 26.36 kB / 0.7626 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.004229, allocations: 80.8 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.004246, allocations: 9.859 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.004269, allocations: 13.7 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.004342, allocations: 318.8 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-06/0.004349, allocations: 0 / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.004357, allocations: 1.203 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.084e-05/0.004378, allocations: 14.05 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.00438, allocations: 3.938 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.155e-05/0.004421, allocations: 38.22 kB / 0.763 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.004434, allocations: 10.34 kB / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.004438, allocations: 0 / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.004449, allocations: 0 / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.004507, allocations: 8.812 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.00451, allocations: 3.984 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.004526, allocations: 9.094 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.00453, allocations: 4 kB / 0.7631 GB, free: 3.398 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 (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 5.043e-05/0.004581, allocations: 112.4 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.004593, allocations: 4 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.004653, allocations: 44.94 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.004655, allocations: 0 / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.004657, allocations: 3.938 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004659, allocations: 3.516 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.771e-05/0.004737, allocations: 69.89 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004738, allocations: 0 / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.004758, allocations: 4 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.004759, allocations: 0 / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-06/0.004762, allocations: 0 / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004763, allocations: 0 / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004764, allocations: 2.344 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.011e-05/0.004834, allocations: 143.5 kB / 0.7634 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.004841, allocations: 7.938 kB / 0.7634 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-06/0.004849, allocations: 3.984 kB / 0.7634 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.84e-05/0.004877, allocations: 4.938 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.004909, allocations: 0 / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.004911, allocations: 0.875 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.372e-05/0.004925, allocations: 21.84 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004925, allocations: 0 / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001144/0.005039, allocations: 4.5 kB / 0.7635 GB, free: 2.938 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 (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.21e-05/0.005132, allocations: 75.69 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.239e-05/0.005184, allocations: 12.86 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.005186, allocations: 0 / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.005199, allocations: 8.859 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.005338, allocations: 12.58 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.005672, allocations: 115.1 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.005701, allocations: 51.36 kB / 0.7637 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.479e-05/0.005716, allocations: 0 / 0.7637 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.005758, allocations: 56.55 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.005758, allocations: 0 / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of Templates: time 0.001845/0.007604, allocations: 456.6 kB / 0.7642 GB, free: 2.129 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.087761878967285]