Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.0007984/0.0007984, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009045/0.0009045, allocations: 168.7 kB / 15.95 MB, free: 204 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.429/1.429, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.676/1.676, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0007444/0.0007448, allocations: 16.06 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2419, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.000834/0.2427, allocations: 446.3 kB / 0.7878 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2442, allocations: 1.232 MB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.2443, allocations: 4 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.2443, allocations: 7.922 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.2444, allocations: 7.922 kB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007268/0.2451, allocations: 288.2 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.2453, allocations: 199.6 kB / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.005e-05/0.2454, allocations: 12.12 kB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.2455, allocations: 95.78 kB / 0.7896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2456, allocations: 59.84 kB / 0.7897 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.2457, allocations: 16 kB / 0.7897 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.313e-05/0.2458, allocations: 31.97 kB / 0.7897 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.2458, allocations: 11.94 kB / 0.7897 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.2458, allocations: 45.64 kB / 0.7898 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.246, allocations: 151.9 kB / 0.7899 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.246, allocations: 4 kB / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.91e-07/0.246, allocations: 0 / 0.7899 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.2461, allocations: 0 / 0.7899 GB, free: 9.234 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.0004761/0.2465, allocations: 452.2 kB / 0.7904 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2466, allocations: 8.031 kB / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.79e-05/0.2466, allocations: 42.56 kB / 0.7904 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.2467, allocations: 11.91 kB / 0.7904 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2468, allocations: 171 kB / 0.7906 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2468, allocations: 11.98 kB / 0.7906 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.2469, allocations: 16 kB / 0.7906 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.247, allocations: 57.66 kB / 0.7907 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.247, allocations: 0 / 0.7907 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.247, allocations: 7.984 kB / 0.7907 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.247, allocations: 0 / 0.7907 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.2471, allocations: 23.92 kB / 0.7907 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.2476, allocations: 420.4 kB / 0.7911 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.911e-05/0.2477, allocations: 42.56 kB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.2477, allocations: 16.86 kB / 0.7912 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.365e-06/0.2478, allocations: 3.938 kB / 0.7912 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.2479, allocations: 103.3 kB / 0.7913 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.2479, allocations: 0 / 0.7913 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0002861/0.2482, allocations: 141.5 kB / 0.7914 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.2483, allocations: 51.41 kB / 0.7914 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2484, allocations: 136.2 kB / 0.7916 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.2485, allocations: 33.7 kB / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.2485, allocations: 108 kB / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2486, allocations: 23.75 kB / 0.7917 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.2486, allocations: 4 kB / 0.7917 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2487, allocations: 322.8 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.2489, allocations: 87.89 kB / 0.7921 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.2491, allocations: 134 kB / 0.7923 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.2493, allocations: 173.1 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2493, allocations: 0 / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005399/0.2499, allocations: 374.4 kB / 0.7928 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.25, allocations: 99.91 kB / 0.7929 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.25, allocations: 192 / 0.7929 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.25, allocations: 8 kB / 0.7929 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.572e-05/0.25, allocations: 4 kB / 0.7929 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2501, allocations: 11.94 kB / 0.7929 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.2506, allocations: 111.8 kB / 0.793 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.2506, allocations: 23.98 kB / 0.793 GB, free: 5.746 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001162/0.2507, allocations: 129.8 kB / 0.7932 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.2508, allocations: 11.89 kB / 0.7932 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.2508, allocations: 8.375 kB / 0.7932 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2508, allocations: 0 / 0.7932 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2508, allocations: 4 kB / 0.7932 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2508, allocations: 3.953 kB / 0.7932 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.251, allocations: 197.9 kB / 0.7934 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.251, allocations: 0 / 0.7934 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-06/0.251, allocations: 0 / 0.7934 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.251, allocations: 4 kB / 0.7934 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.251, allocations: 7.938 kB / 0.7934 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.251, allocations: 0 / 0.7934 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.251, allocations: 0 / 0.7934 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.2512, allocations: 140.9 kB / 0.7935 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.2513, allocations: 85.02 kB / 0.7936 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.2513, allocations: 4 kB / 0.7936 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.568e-05/0.2513, allocations: 7.984 kB / 0.7936 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.2514, allocations: 8 kB / 0.7936 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.2514, allocations: 11.98 kB / 0.7936 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.2514, allocations: 94.22 kB / 0.7937 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2514, allocations: 11.88 kB / 0.7937 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002469/0.2517, allocations: 40 kB / 0.7938 GB, free: 4.898 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005014/0.2522, allocations: 0.6787 MB / 0.7944 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.2527, allocations: 358.1 kB / 0.7948 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2527, allocations: 0 / 0.7948 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.2528, allocations: 43.92 kB / 0.7948 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.253, allocations: 20.73 kB / 0.7948 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.2544, allocations: 0.9128 MB / 0.7957 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.2547, allocations: 0.6965 MB / 0.7964 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.529e-05/0.2548, allocations: 4.438 kB / 0.7964 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.2548, allocations: 35.48 kB / 0.7964 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2548, allocations: 0 / 0.7964 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.2678, allocations: 3.44 MB / 0.7998 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.268, allocations: 188.4 kB / 0.8 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.131, allocations: 4 kB / 0.8 GB, free: 14.47 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) Environment - environmentSimulation: