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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.559/1.559, allocations: 249.3 MB / 261.8 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009947/0.0009948, allocations: 78.55 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.913e-05/4.915e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2331, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8578/1.091, allocations: 131.7 MB / 1.021 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/1.091, allocations: 70.89 kB / 1.021 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002544/1.094, allocations: 0.9521 MB / 1.022 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.31e-07/1.094, allocations: 0 / 1.022 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.094, allocations: 8 kB / 1.022 GB, free: 2.031 MB / 0.6355 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.0004269/1.094, allocations: 371.8 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.094, allocations: 8.031 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/1.094, allocations: 30.56 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/1.094, allocations: 7.906 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/1.094, allocations: 186.2 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/1.094, allocations: 7.938 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/1.094, allocations: 4 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/1.095, allocations: 52 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/1.095, allocations: 0 / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/1.095, allocations: 3.984 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/1.095, allocations: 0 / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.502e-05/1.095, allocations: 22.31 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/1.095, allocations: 315.4 kB / 1.023 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/1.096, allocations: 103.6 kB / 1.023 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/1.096, allocations: 19.45 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/1.096, allocations: 0 / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/1.096, allocations: 78.31 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/1.096, allocations: 2.734 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001774/1.096, allocations: 76.42 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/1.096, allocations: 58.53 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/1.096, allocations: 105.1 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/1.096, allocations: 28.64 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/1.096, allocations: 88.08 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/1.096, allocations: 19.11 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/1.096, allocations: 3.312 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/1.096, allocations: 322.5 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/1.096, allocations: 14.94 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/1.096, allocations: 47.05 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.666e-05/1.096, allocations: 11.94 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.096, allocations: 0.5625 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001323/1.097, allocations: 99.09 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/1.097, allocations: 4 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.097, allocations: 7.984 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/1.097, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.638e-05/1.097, allocations: 15.94 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.097, allocations: 11.88 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/1.097, allocations: 20.08 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/1.097, allocations: 4 kB / 1.024 GB, free: 15.83 MB / 0.6511 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/1.097, allocations: 108 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/1.097, allocations: 3.906 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/1.097, allocations: 12.56 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.097, allocations: 3.938 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.097, allocations: 0 / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.097, allocations: 3.953 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/1.097, allocations: 339.3 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.097, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/1.097, allocations: 11.98 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/1.097, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/1.098, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.098, allocations: 3.953 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.098, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/1.098, allocations: 185.7 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/1.098, allocations: 85.02 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/1.098, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/1.098, allocations: 19.92 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/1.098, allocations: 11.94 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/1.098, allocations: 0 / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.253e-05/1.098, allocations: 93.83 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/1.098, allocations: 8 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002211/1.098, allocations: 11.94 kB / 1.024 GB, free: 14.9 MB / 0.6511 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004032/1.099, allocations: 0.7055 MB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001227/1.099, allocations: 49.98 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.099, allocations: 4.188 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/1.099, allocations: 23.06 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/1.099, allocations: 16.03 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/1.099, allocations: 129.2 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/1.1, allocations: 0.7003 MB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.579e-05/1.1, allocations: 7.859 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/1.1, allocations: 22.55 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of SimCode: time 3.5e-07/1.1, allocations: 3.938 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/1.112, allocations: 1.64 MB / 1.028 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/1.112, allocations: 168.2 kB / 1.028 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.664, allocations: 0 / 1.028 GB, free: 11.46 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)