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.0009475/0.0009475, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00098/0.00098, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.728/1.728, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0005705/0.0005707, allocations: 18.77 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2877, allocations: 116.3 MB / 0.7873 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001376/0.2892, allocations: 478.1 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.291, allocations: 1.111 MB / 0.7888 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.2911, allocations: 3.938 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.2911, allocations: 3.938 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.865e-05/0.2912, allocations: 11.92 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.2917, allocations: 114.8 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2918, allocations: 63.92 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.292, allocations: 8 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.2921, allocations: 39.89 kB / 0.789 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.2922, allocations: 35.83 kB / 0.7891 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.2922, allocations: 8 kB / 0.7891 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.599e-05/0.2923, allocations: 15.98 kB / 0.7891 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.2923, allocations: 11.98 kB / 0.7891 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.2924, allocations: 37.64 kB / 0.7891 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.2925, allocations: 80.09 kB / 0.7892 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2925, allocations: 4 kB / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2925, allocations: 0 / 0.7892 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2926, allocations: 0 / 0.7892 GB, free: 9.832 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.0006191/0.2932, allocations: 400.8 kB / 0.7896 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.2932, allocations: 8.031 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.2933, allocations: 30.56 kB / 0.7896 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.2933, allocations: 8 kB / 0.7896 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.2935, allocations: 174.9 kB / 0.7898 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2935, allocations: 7.938 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.2936, allocations: 11.98 kB / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2938, allocations: 69.59 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2938, allocations: 4 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2938, allocations: 0 / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2939, allocations: 0 / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.2941, allocations: 55.95 kB / 0.7899 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.2946, allocations: 336.7 kB / 0.7903 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.2948, allocations: 62.55 kB / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.2948, allocations: 0 / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.2951, allocations: 103.4 kB / 0.7904 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2951, allocations: 0 / 0.7904 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0004572/0.2955, allocations: 157.6 kB / 0.7906 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.2956, allocations: 51.41 kB / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2957, allocations: 125.7 kB / 0.7907 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.2957, allocations: 25.7 kB / 0.7908 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.2958, allocations: 92.14 kB / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.2958, allocations: 11.81 kB / 0.7909 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.2959, allocations: 4 kB / 0.7909 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.296, allocations: 326.8 kB / 0.7912 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.2962, allocations: 59.95 kB / 0.7912 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.2963, allocations: 92.19 kB / 0.7913 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2965, allocations: 85.98 kB / 0.7914 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2965, allocations: 3.938 kB / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004165/0.2969, allocations: 223.1 kB / 0.7916 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.297, allocations: 37.69 kB / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.297, allocations: 0 / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.297, allocations: 4 kB / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.2971, allocations: 23.91 kB / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2972, allocations: 0 / 0.7917 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.2974, allocations: 59.95 kB / 0.7918 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.2974, allocations: 8 kB / 0.7918 GB, free: 6.957 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.2975, allocations: 117.8 kB / 0.7919 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.2976, allocations: 11.91 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.2976, allocations: 16.36 kB / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2976, allocations: 0 / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2976, allocations: 0 / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2976, allocations: 0 / 0.7919 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.2981, allocations: 394.3 kB / 0.7923 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2981, allocations: 0 / 0.7923 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.2982, allocations: 12 kB / 0.7923 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2982, allocations: 0 / 0.7923 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.2982, allocations: 4.062 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2982, allocations: 3.984 kB / 0.7923 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2982, allocations: 0 / 0.7923 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.2985, allocations: 219.4 kB / 0.7925 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.2986, allocations: 85.02 kB / 0.7926 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2986, allocations: 4 kB / 0.7926 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.787e-05/0.2987, allocations: 15.98 kB / 0.7926 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.2987, allocations: 0 / 0.7926 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.2988, allocations: 7.984 kB / 0.7926 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.2988, allocations: 87.28 kB / 0.7927 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2988, allocations: 0 / 0.7927 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002556/0.2991, allocations: 27.95 kB / 0.7927 GB, free: 5.871 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 (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.0006459/0.2997, allocations: 0.7631 MB / 0.7935 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.3001, allocations: 191.3 kB / 0.7936 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3001, allocations: 0 / 0.7936 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3003, allocations: 43.97 kB / 0.7937 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.3005, allocations: 17.06 kB / 0.7937 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.3013, allocations: 1.005 MB / 0.7947 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.3016, allocations: 0.6965 MB / 0.7954 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.3016, allocations: 8 kB / 0.7954 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.3016, allocations: 15.44 kB / 0.7954 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.3016, allocations: 0 / 0.7954 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.3149, allocations: 2.189 MB / 0.7975 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.3151, allocations: 182.5 kB / 0.7977 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.197, allocations: 0 / 0.7977 GB, free: 0.7109 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/linux/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) Environment - environmentSimulation: