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.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006876/0.006876, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001306/0.001307, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.593/1.593, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.509/1.509, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001556/0.001556, allocations: 71.89 kB / 0.7258 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7841/0.7856, allocations: 104.7 MB / 0.8281 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.00279/0.7885, allocations: 1.555 MB / 0.8296 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.7893, allocations: 342 kB / 0.83 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.7893, allocations: 0 / 0.83 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.7895, allocations: 7.875 kB / 0.83 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.7895, allocations: 23.78 kB / 0.83 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.7899, allocations: 83.78 kB / 0.8301 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.7901, allocations: 127.7 kB / 0.8302 GB, free: 404 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.7903, allocations: 49.38 kB / 0.8302 GB, free: 352 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.7903, allocations: 55.77 kB / 0.8303 GB, free: 296 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.7904, allocations: 51.83 kB / 0.8303 GB, free: 244 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.7905, allocations: 8 kB / 0.8303 GB, free: 236 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.7906, allocations: 91.91 kB / 0.8304 GB, free: 144 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 6.438e-05/0.7907, allocations: 43.83 kB / 0.8305 GB, free: 100 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.7908, allocations: 51.61 kB / 0.8305 GB, free: 48 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.7911, allocations: 203.9 kB / 0.8307 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7911, allocations: 0 / 0.8307 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7911, allocations: 0 / 0.8307 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.7911, allocations: 0 / 0.8307 GB, free: 15.86 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008422/0.7919, allocations: 490.5 kB / 0.8312 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.792, allocations: 12.03 kB / 0.8312 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.7921, allocations: 20.84 kB / 0.8312 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.7923, allocations: 209.8 kB / 0.8314 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.7923, allocations: 8.375 kB / 0.8314 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.7923, allocations: 4.375 kB / 0.8314 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005293/0.7929, allocations: 182.1 kB / 0.8316 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.7929, allocations: 192 / 0.8316 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.7929, allocations: 7.938 kB / 0.8316 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.7929, allocations: 12 kB / 0.8316 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.7936, allocations: 207.7 kB / 0.8318 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.7945, allocations: 452.4 kB / 0.8323 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.7949, allocations: 142.5 kB / 0.8324 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/0.7953, allocations: 128.8 kB / 0.8325 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.7953, allocations: 8 kB / 0.8325 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.7954, allocations: 30.56 kB / 0.8325 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.7954, allocations: 0 / 0.8325 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.001247/0.7966, allocations: 401.3 kB / 0.8329 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.7967, allocations: 51.41 kB / 0.833 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.7968, allocations: 148.6 kB / 0.8331 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.7969, allocations: 29.7 kB / 0.8331 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.7969, allocations: 116.3 kB / 0.8333 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.797, allocations: 47.66 kB / 0.8333 GB, free: 13 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.7971, allocations: 21.72 kB / 0.8333 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7972, allocations: 322.8 kB / 0.8336 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.7976, allocations: 119.9 kB / 0.8337 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.7979, allocations: 107.9 kB / 0.8338 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.7987, allocations: 243.5 kB / 0.8341 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7987, allocations: 0 / 0.8341 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007847/0.7995, allocations: 281.3 kB / 0.8344 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7995, allocations: 4 kB / 0.8344 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.7995, allocations: 240 / 0.8344 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7995, allocations: 3.938 kB / 0.8344 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.7998, allocations: 35.95 kB / 0.8344 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.7998, allocations: 7.984 kB / 0.8344 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.8, allocations: 39.81 kB / 0.8344 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.8, allocations: 4 kB / 0.8344 GB, free: 11.81 MB / 0.6387 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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 0.0001079/0.8001, allocations: 134.5 kB / 0.8346 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.8002, allocations: 11.91 kB / 0.8346 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.8002, allocations: 16.83 kB / 0.8346 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.8003, allocations: 16 kB / 0.8346 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.8003, allocations: 0 / 0.8346 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.8003, allocations: 3.938 kB / 0.8346 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.8006, allocations: 221.5 kB / 0.8348 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8006, allocations: 0 / 0.8348 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.8008, allocations: 43.89 kB / 0.8349 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.8008, allocations: 0 / 0.8349 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.8008, allocations: 3.984 kB / 0.8349 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8008, allocations: 0 / 0.8349 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.8008, allocations: 8 kB / 0.8349 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009029/0.8018, allocations: 383.2 kB / 0.8352 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.8018, allocations: 93 kB / 0.8353 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.8018, allocations: 0 / 0.8353 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.8021, allocations: 31.95 kB / 0.8354 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.8021, allocations: 15.92 kB / 0.8354 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.8022, allocations: 4 kB / 0.8354 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.188e-05/0.8023, allocations: 107.2 kB / 0.8355 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8023, allocations: 4 kB / 0.8355 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003181/0.8026, allocations: 43.89 kB / 0.8355 GB, free: 10.61 MB / 0.6387 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0002422/0.8028, allocations: 123.1 kB / 0.8356 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00084/0.8037, allocations: 259.3 kB / 0.8359 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8037, allocations: 0 / 0.8359 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.8041, allocations: 131.8 kB / 0.836 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.8045, allocations: 19.98 kB / 0.836 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.8051, allocations: 322.7 kB / 0.8363 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.8055, allocations: 0.7227 MB / 0.8371 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.048e-05/0.8056, allocations: 32.12 kB / 0.8371 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.8056, allocations: 15.38 kB / 0.8371 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.8056, allocations: 0 / 0.8371 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of Templates: time 0.004926/0.8105, allocations: 1.919 MB / 0.839 GB, free: 7.043 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)