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.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.646/1.646, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 183.2 kB / 326.5 MB, free: 2.645 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205 MB / 0.5766 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 82.36 kB / 0.6803 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 12.81 kB / 0.7938 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2376, allocations: 105.4 MB / 0.8968 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001582/0.2393, allocations: 1.198 MB / 0.8979 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004755/0.2398, allocations: 225.1 kB / 0.8981 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.2399, allocations: 0 / 0.8981 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.2399, allocations: 3.938 kB / 0.8981 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.342e-05/0.24, allocations: 3.938 kB / 0.8981 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.2402, allocations: 15.98 kB / 0.8982 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.154e-05/0.2403, allocations: 63.77 kB / 0.8982 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.2404, allocations: 20.22 kB / 0.8982 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.2405, allocations: 23.86 kB / 0.8983 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.2405, allocations: 23.91 kB / 0.8983 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.2406, allocations: 0 / 0.8983 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.2406, allocations: 4 kB / 0.8983 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.2406, allocations: 7.938 kB / 0.8983 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.2407, allocations: 27.8 kB / 0.8983 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.829e-05/0.2408, allocations: 39.91 kB / 0.8984 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2408, allocations: 0 / 0.8984 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.417e-06/0.2408, allocations: 7.984 kB / 0.8984 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2408, allocations: 0 / 0.8984 GB, free: 65.96 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005395/0.2413, allocations: 371.3 kB / 0.8987 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2414, allocations: 12.03 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.2414, allocations: 4.844 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.2415, allocations: 180.2 kB / 0.8989 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.2416, allocations: 8.375 kB / 0.8989 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.2416, allocations: 4.375 kB / 0.8989 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.2418, allocations: 70.17 kB / 0.899 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.2418, allocations: 192 / 0.899 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2418, allocations: 7.922 kB / 0.899 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2418, allocations: 0 / 0.899 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.242, allocations: 59.95 kB / 0.8991 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.2424, allocations: 304.8 kB / 0.8993 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.2428, allocations: 126.5 kB / 0.8995 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.213e-05/0.2429, allocations: 28.97 kB / 0.8995 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.243, allocations: 3.984 kB / 0.8995 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.2432, allocations: 87.38 kB / 0.8996 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/0.2432, allocations: 7.922 kB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003994/0.2436, allocations: 149.5 kB / 0.8997 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.2437, allocations: 51.48 kB / 0.8998 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.2437, allocations: 117.8 kB / 0.8999 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.2437, allocations: 25.7 kB / 0.8999 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.2438, allocations: 100 kB / 0.9 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.2438, allocations: 7.906 kB / 0.9 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.2438, allocations: 22.09 kB / 0.9 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.614e-05/0.2439, allocations: 326.8 kB / 0.9004 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.244, allocations: 27.98 kB / 0.9004 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.987e-05/0.2441, allocations: 67.34 kB / 0.9004 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2443, allocations: 95.33 kB / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2443, allocations: 0 / 0.9005 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002416/0.2446, allocations: 121.4 kB / 0.9007 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2446, allocations: 11.98 kB / 0.9007 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2446, allocations: 4.094 kB / 0.9007 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2446, allocations: 0 / 0.9007 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.2447, allocations: 12.06 kB / 0.9007 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2447, allocations: 7.984 kB / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.2448, allocations: 27.83 kB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2448, allocations: 4 kB / 0.9007 GB, free: 63.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,change.y,change.u,$PRE.change.u,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.346e-05/0.2449, allocations: 125.7 kB / 0.9008 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.2449, allocations: 4 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.2449, allocations: 8.375 kB / 0.9008 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.245, allocations: 4 kB / 0.9009 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.245, allocations: 0 / 0.9009 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.245, allocations: 0 / 0.9009 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.2454, allocations: 378.4 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2454, allocations: 0 / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.2454, allocations: 15.92 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2455, allocations: 0 / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.2455, allocations: 4 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2455, allocations: 4 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2455, allocations: 3.938 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.2457, allocations: 203.5 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.2458, allocations: 84.95 kB / 0.9015 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.2458, allocations: 4 kB / 0.9015 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2459, allocations: 15.98 kB / 0.9015 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.2459, allocations: 11.92 kB / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.246, allocations: 8 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.246, allocations: 95.39 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.246, allocations: 3.938 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002157/0.2462, allocations: 12 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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.0001031/0.2463, allocations: 103.2 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2466, allocations: 79.89 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2466, allocations: 0 / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.2467, allocations: 44.16 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.247, allocations: 17.05 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.2474, allocations: 203.4 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.2475, allocations: 0.6888 MB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.462e-05/0.2475, allocations: 11.42 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2475, allocations: 4 kB / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.002189/0.2497, allocations: 0.9655 MB / 0.9037 GB, free: 60.07 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)