Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006601/0.006601, allocations: 100.6 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 196.8 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.624/1.624, allocations: 251.7 MB / 0.5094 GB, free: 3 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.91 kB / 0.7258 GB, free: 8.941 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2762, allocations: 104.7 MB / 0.8281 GB, free: 132 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.003228/0.2795, allocations: 1.376 MB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004501/0.28, allocations: 124.8 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.28, allocations: 4 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.2801, allocations: 3.938 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/0.2802, allocations: 0 / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.2804, allocations: 11.98 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2806, allocations: 31.91 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.2807, allocations: 4 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.069e-05/0.2808, allocations: 15.92 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.2808, allocations: 8 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.2809, allocations: 0 / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.2809, allocations: 4 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.2809, allocations: 7.922 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.281, allocations: 8 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.2811, allocations: 27.83 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2811, allocations: 0 / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2811, allocations: 0 / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.2811, allocations: 0 / 0.8297 GB, free: 14.5 MB / 0.6544 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.0005869/0.2817, allocations: 339.4 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.2818, allocations: 12.03 kB / 0.83 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.827e-05/0.2818, allocations: 0.9375 kB / 0.83 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.282, allocations: 168.3 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.282, allocations: 384 / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.282, allocations: 8.375 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.2822, allocations: 46.23 kB / 0.8302 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2823, allocations: 4.188 kB / 0.8302 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.2823, allocations: 7.938 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2823, allocations: 0 / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.2825, allocations: 39.84 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.2829, allocations: 245 kB / 0.8305 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.283, allocations: 42.5 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.2831, allocations: 20.84 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.2831, allocations: 0 / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.2832, allocations: 34.56 kB / 0.8306 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2832, allocations: 0 / 0.8306 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000356/0.2836, allocations: 85.67 kB / 0.8307 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.2836, allocations: 51.41 kB / 0.8307 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.2837, allocations: 105.8 kB / 0.8308 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2837, allocations: 25.7 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.2838, allocations: 80.14 kB / 0.8309 GB, free: 13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.2838, allocations: 3.906 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.2839, allocations: 17.72 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.284, allocations: 314.8 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.481e-05/0.2841, allocations: 20.02 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.2841, allocations: 15.98 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2843, allocations: 44.75 kB / 0.8313 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2843, allocations: 0 / 0.8313 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001758/0.2845, allocations: 65.67 kB / 0.8314 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2845, allocations: 8 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2845, allocations: 0 / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.2845, allocations: 0 / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.2846, allocations: 11.98 kB / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2847, allocations: 0 / 0.8314 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.2847, allocations: 15.83 kB / 0.8314 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2847, allocations: 4 kB / 0.8314 GB, free: 12.47 MB / 0.6544 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 9.229e-05/0.2848, allocations: 113.8 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.2849, allocations: 0 / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.2851, allocations: 76.72 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.2851, allocations: 192 / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2851, allocations: 0 / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.2851, allocations: 3.984 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.2853, allocations: 161.6 kB / 0.8318 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2853, allocations: 0 / 0.8318 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/0.2854, allocations: 16.02 kB / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2854, allocations: 0 / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2854, allocations: 0 / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2854, allocations: 4 kB / 0.8318 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2854, allocations: 3.938 kB / 0.8318 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.2857, allocations: 167.4 kB / 0.832 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.2857, allocations: 81.14 kB / 0.832 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.2857, allocations: 7.938 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.2858, allocations: 3.984 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.2859, allocations: 4 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.2859, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.2859, allocations: 79.28 kB / 0.8321 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2859, allocations: 0 / 0.8321 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002142/0.2861, allocations: 8 kB / 0.8321 GB, free: 11.65 MB / 0.6544 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 0.0001593/0.2863, allocations: 103.2 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.2865, allocations: 39.97 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2866, allocations: 0 / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.2866, allocations: 19.92 kB / 0.8323 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.287, allocations: 11.92 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003772/0.2873, allocations: 105.7 kB / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.2876, allocations: 0.6766 MB / 0.8331 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.2877, allocations: 4 kB / 0.8331 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.2877, allocations: 7.438 kB / 0.8331 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.2877, allocations: 0 / 0.8331 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.003125/0.2909, allocations: 439.5 kB / 0.8335 GB, free: 10.2 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.pipe 2>&1)