Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00112/0.00112, allocations: 195.7 kB / 16.14 MB, free: 6.66 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.415/1.415, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.651/1.651, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.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.001353/0.001353, allocations: 66.78 kB / 0.6709 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2061, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001891/0.208, allocations: 0.8213 MB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2094, allocations: 1.161 MB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.2095, allocations: 4 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.2095, allocations: 0 / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.677e-05/0.2096, allocations: 3.938 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.2099, allocations: 126.9 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2101, allocations: 103.8 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.2101, allocations: 12 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.335e-05/0.2102, allocations: 39.91 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.2103, allocations: 55.69 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.2103, allocations: 4 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.346e-05/0.2104, allocations: 19.98 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.2104, allocations: 11.92 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.2105, allocations: 39.84 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.2106, allocations: 104 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2106, allocations: 4 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2107, allocations: 0 / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.2107, allocations: 0 / 0.7853 GB, free: 11.4 MB / 0.6075 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.0004972/0.2112, allocations: 417 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2112, allocations: 8.031 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.2112, allocations: 34.73 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.2113, allocations: 12.84 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.2114, allocations: 168.3 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.2114, allocations: 12.31 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.2114, allocations: 4.375 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.2116, allocations: 74.16 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.2116, allocations: 3.938 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.2117, allocations: 0 / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2117, allocations: 0 / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.2118, allocations: 43.95 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.2123, allocations: 336.7 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2125, allocations: 62.55 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.706e-05/0.2126, allocations: 28.97 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.2126, allocations: 0 / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.2128, allocations: 95.36 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2128, allocations: 0 / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003996/0.2132, allocations: 141.5 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.2133, allocations: 55.39 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/0.2134, allocations: 121.8 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.2134, allocations: 29.7 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.2135, allocations: 100.1 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.2135, allocations: 19.8 kB / 0.7869 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/0.2136, allocations: 37.7 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2137, allocations: 318.8 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.2139, allocations: 51.97 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.214, allocations: 88.25 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.2143, allocations: 137.9 kB / 0.7875 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2143, allocations: 3.984 kB / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004227/0.2148, allocations: 203.1 kB / 0.7877 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.2148, allocations: 41.69 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.2148, allocations: 4 kB / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.2148, allocations: 7.875 kB / 0.7878 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.2149, allocations: 15.92 kB / 0.7878 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2149, allocations: 4 kB / 0.7878 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.2152, allocations: 44.02 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.2152, allocations: 4 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.249e-05/0.2153, allocations: 127.5 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.2153, allocations: 11.89 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.2153, allocations: 12.36 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2154, allocations: 0 / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2154, allocations: 8 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2154, allocations: 0 / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.2158, allocations: 374.4 kB / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2158, allocations: 0 / 0.7884 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.2159, allocations: 4 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2159, allocations: 4 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2159, allocations: 7.984 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2159, allocations: 4.391 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2159, allocations: 0 / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.2162, allocations: 215.2 kB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.2163, allocations: 85.02 kB / 0.7887 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.2163, allocations: 4 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.2164, allocations: 7.984 kB / 0.7887 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.2164, allocations: 15.92 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2164, allocations: 4.062 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.2165, allocations: 87.28 kB / 0.7888 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2165, allocations: 0 / 0.7888 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000247/0.2167, allocations: 27.98 kB / 0.7888 GB, free: 7.363 MB / 0.6075 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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 (8): * Single equations (assignments): 6 * 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.0005735/0.2173, allocations: 0.7436 MB / 0.7895 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003651/0.2177, allocations: 179.3 kB / 0.7897 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2177, allocations: 0 / 0.7897 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2178, allocations: 43.95 kB / 0.7898 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.2181, allocations: 16.12 kB / 0.7898 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.22, allocations: 1.693 MB / 0.7914 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.2204, allocations: 0.7001 MB / 0.7921 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.105e-05/0.2204, allocations: 4 kB / 0.7921 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.2205, allocations: 19.42 kB / 0.7921 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2205, allocations: 0 / 0.7921 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01157/0.2321, allocations: 2.301 MB / 0.7944 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.2323, allocations: 205.8 kB / 0.7946 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/1.924, allocations: 0 / 0.7946 GB, free: 1.344 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)