Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.0008373/0.0008374, 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.000794/0.0007942, 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.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.74/1.74, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.000549/0.000549, allocations: 14.97 kB / 0.6738 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2299, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0008173/0.2307, allocations: 398.4 kB / 0.7878 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.232, allocations: 1.158 MB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.2321, allocations: 0 / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.2321, allocations: 0 / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.2322, allocations: 15.86 kB / 0.789 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.2327, allocations: 193.7 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.2328, allocations: 135.7 kB / 0.7893 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.2329, allocations: 7.984 kB / 0.7893 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.233, allocations: 59.88 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.2331, allocations: 43.88 kB / 0.7894 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.2331, allocations: 11.94 kB / 0.7894 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-05/0.2332, allocations: 23.98 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.2332, allocations: 11.94 kB / 0.7894 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.2333, allocations: 37.7 kB / 0.7895 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.2334, allocations: 108 kB / 0.7896 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2334, allocations: 0 / 0.7896 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2334, allocations: 0 / 0.7896 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2334, allocations: 0 / 0.7896 GB, free: 9.629 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004076/0.2339, allocations: 410.6 kB / 0.7899 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.2339, allocations: 8.031 kB / 0.79 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.2339, allocations: 30.56 kB / 0.79 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.234, allocations: 12 kB / 0.79 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2341, allocations: 175 kB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.2341, allocations: 4 kB / 0.7902 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.2342, allocations: 12 kB / 0.7902 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.411e-05/0.2343, allocations: 41.69 kB / 0.7902 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2343, allocations: 4 kB / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2343, allocations: 7.969 kB / 0.7902 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2343, allocations: 0 / 0.7902 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.55e-05/0.2343, allocations: 15.94 kB / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.2348, allocations: 368.5 kB / 0.7906 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/0.2348, allocations: 34.56 kB / 0.7906 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.2349, allocations: 12.86 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.2349, allocations: 0 / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.235, allocations: 79.47 kB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.235, allocations: 7.938 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0001972/0.2352, allocations: 97.58 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2353, allocations: 55.39 kB / 0.7909 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.2354, allocations: 122 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.2354, allocations: 33.7 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.2355, allocations: 96.22 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.2355, allocations: 7.891 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.2355, allocations: 8 kB / 0.7911 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2357, allocations: 322.8 kB / 0.7914 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.2358, allocations: 59.95 kB / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2359, allocations: 100.2 kB / 0.7916 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.2361, allocations: 107.4 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2361, allocations: 0 / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003734/0.2365, allocations: 265.3 kB / 0.7919 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.2365, allocations: 67.39 kB / 0.792 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2365, allocations: 4 kB / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.2366, allocations: 0 / 0.792 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-05/0.2366, allocations: 7.984 kB / 0.792 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2366, allocations: 7.875 kB / 0.792 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.2369, allocations: 79.91 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.237, allocations: 19.94 kB / 0.7921 GB, free: 6.703 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001018/0.2371, allocations: 124 kB / 0.7922 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.2371, allocations: 4 kB / 0.7922 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.2371, allocations: 8.375 kB / 0.7922 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2372, allocations: 4 kB / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2372, allocations: 0 / 0.7923 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2372, allocations: 3.984 kB / 0.7923 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2373, allocations: 181.7 kB / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2373, allocations: 0 / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.2373, allocations: 0 / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2373, allocations: 0 / 0.7924 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.2373, allocations: 11.98 kB / 0.7924 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2373, allocations: 0 / 0.7924 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2374, allocations: 0 / 0.7924 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.2375, allocations: 113.3 kB / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.2375, allocations: 85 kB / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2376, allocations: 0 / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.75e-05/0.2376, allocations: 0 / 0.7926 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.2376, allocations: 11.98 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.2376, allocations: 8 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.107e-05/0.2377, allocations: 91.27 kB / 0.7927 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2377, allocations: 0 / 0.7927 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000222/0.2379, allocations: 28 kB / 0.7928 GB, free: 5.949 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * 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 (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.0004242/0.2383, allocations: 0.663 MB / 0.7934 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.2387, allocations: 254.7 kB / 0.7937 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2387, allocations: 0 / 0.7937 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.2387, allocations: 23.98 kB / 0.7937 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.2389, allocations: 16.27 kB / 0.7937 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009909/0.2399, allocations: 0.7026 MB / 0.7944 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.2402, allocations: 0.6848 MB / 0.795 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.392e-05/0.2402, allocations: 4 kB / 0.7951 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.2402, allocations: 19.42 kB / 0.7951 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2403, allocations: 0 / 0.7951 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.2526, allocations: 2.579 MB / 0.7976 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.2528, allocations: 180 kB / 0.7978 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.089, allocations: 0 / 0.7978 GB, free: 0.7773 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) Environment - environmentSimulation: