Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007493/0.007493, allocations: 97.25 kB / 15.73 MB, free: 6.035 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.001502/0.001502, allocations: 204.4 kB / 16.68 MB, free: 5.961 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.709/1.709, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.755/1.755, allocations: 251.7 MB / 0.5094 GB, free: 2.996 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.001666/0.001666, allocations: 70.08 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2735, allocations: 104.7 MB / 0.8281 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.003388/0.277, allocations: 1.378 MB / 0.8294 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.2777, allocations: 212.6 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.2777, allocations: 0 / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.2778, allocations: 3.938 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.2779, allocations: 11.86 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.2781, allocations: 19.92 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.2783, allocations: 63.78 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.2784, allocations: 15.97 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.2785, allocations: 23.86 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.2786, allocations: 19.92 kB / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.2786, allocations: 4 kB / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.595e-05/0.2786, allocations: 8 kB / 0.8298 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.2787, allocations: 7.984 kB / 0.8298 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.2787, allocations: 19.88 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.2789, allocations: 55.78 kB / 0.8299 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2789, allocations: 4 kB / 0.8299 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2789, allocations: 0 / 0.8299 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2789, allocations: 0 / 0.8299 GB, free: 14.36 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006426/0.2795, allocations: 375.2 kB / 0.8302 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.2796, allocations: 12.03 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.2797, allocations: 4.891 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.2799, allocations: 172.3 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2799, allocations: 4.375 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.28, allocations: 12.38 kB / 0.8304 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.2801, allocations: 50.17 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2801, allocations: 192 / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.2801, allocations: 7.938 kB / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2802, allocations: 0 / 0.8305 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.2802, allocations: 23.98 kB / 0.8305 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.2808, allocations: 272.9 kB / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.281, allocations: 58.44 kB / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.281, allocations: 20.97 kB / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.2811, allocations: 0 / 0.8308 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.2813, allocations: 67.39 kB / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.2813, allocations: 0 / 0.8309 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002746/0.2816, allocations: 81.58 kB / 0.831 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.2817, allocations: 63.39 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2818, allocations: 113.8 kB / 0.8311 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.2819, allocations: 29.7 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.2819, allocations: 84.22 kB / 0.8312 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.282, allocations: 15.89 kB / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.282, allocations: 25.7 kB / 0.8313 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2822, allocations: 318.8 kB / 0.8316 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.2822, allocations: 11.98 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.786e-05/0.2823, allocations: 42.52 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.2824, allocations: 51.06 kB / 0.8317 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2824, allocations: 0 / 0.8317 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001453/0.2826, allocations: 81.56 kB / 0.8318 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2826, allocations: 8 kB / 0.8318 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2826, allocations: 0 / 0.8318 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.2826, allocations: 4.062 kB / 0.8318 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.527e-05/0.2827, allocations: 8 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.2828, allocations: 4 kB / 0.8318 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.2829, allocations: 15.86 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2829, allocations: 4 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,and1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001222/0.283, allocations: 125.7 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.283, allocations: 7.953 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.2831, allocations: 8.375 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2831, allocations: 4 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.2831, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.2831, allocations: 4 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.2833, allocations: 177.6 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2833, allocations: 0 / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.2834, allocations: 8 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2834, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.2834, allocations: 4 kB / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2834, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2834, allocations: 0 / 0.8321 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.2836, allocations: 116.9 kB / 0.8322 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.2836, allocations: 77.11 kB / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.2837, allocations: 0 / 0.8323 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.2837, allocations: 11.98 kB / 0.8323 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.2838, allocations: 11.98 kB / 0.8323 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.2838, allocations: 0 / 0.8323 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.587e-05/0.2839, allocations: 91.27 kB / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2839, allocations: 4 kB / 0.8324 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002359/0.2842, allocations: 19.95 kB / 0.8324 GB, free: 11.36 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,and1.y) * 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: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001755/0.2843, allocations: 95.25 kB / 0.8325 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.2845, allocations: 47.92 kB / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2845, allocations: 0 / 0.8326 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.2846, allocations: 27.97 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.2849, allocations: 28.17 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.2853, allocations: 149.9 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.2856, allocations: 0.6844 MB / 0.8334 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.2857, allocations: 7.859 kB / 0.8335 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.2857, allocations: 15.44 kB / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of SimCode: time 1.9e-07/0.2857, allocations: 0 / 0.8335 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.003892/0.2896, allocations: 0.9166 MB / 0.8344 GB, free: 9.348 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)