Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 387.4 MB / 394.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 192.6 kB / 487.4 MB, free: 5.086 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009636/0.0009636, allocations: 103.8 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.259e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3123, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.335, allocations: 148.7 MB / 1.351 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/1.336, allocations: 70.25 kB / 1.351 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01246/1.348, allocations: 4.047 MB / 1.355 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/1.348, allocations: 0 / 1.355 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.348, allocations: 4 kB / 1.355 GB, free: 33.68 MB / 0.8386 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.0004238/1.348, allocations: 453.2 kB / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.349, allocations: 7.812 kB / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/1.349, allocations: 17.02 kB / 1.356 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.798e-05/1.349, allocations: 179.9 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/1.349, allocations: 0.7031 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/1.349, allocations: 16.06 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.066e-05/1.349, allocations: 15.02 kB / 1.356 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/1.349, allocations: 50.36 kB / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.349, allocations: 4 kB / 1.356 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.349, allocations: 8.531 kB / 1.356 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.349, allocations: 3.938 kB / 1.356 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/1.35, allocations: 388.1 kB / 1.356 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/1.35, allocations: 34.19 kB / 1.356 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/1.35, allocations: 19.86 kB / 1.356 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/1.35, allocations: 4 kB / 1.356 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/1.35, allocations: 100.2 kB / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/1.35, allocations: 0 / 1.357 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002183/1.35, allocations: 101.5 kB / 1.357 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/1.35, allocations: 56.05 kB / 1.357 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/1.35, allocations: 122.6 kB / 1.357 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/1.35, allocations: 37.33 kB / 1.357 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/1.35, allocations: 93.33 kB / 1.357 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/1.35, allocations: 28.12 kB / 1.357 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/1.35, allocations: 3.875 kB / 1.357 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.35, allocations: 325.3 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/1.351, allocations: 75.22 kB / 1.357 GB, free: 32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/1.351, allocations: 124.3 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/1.351, allocations: 95.77 kB / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.351, allocations: 0.7031 kB / 1.358 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006505/1.352, allocations: 291.5 kB / 1.358 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.484e-05/1.352, allocations: 100.6 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.352, allocations: 4.641 kB / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/1.352, allocations: 0 / 1.358 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.338e-05/1.352, allocations: 8.578 kB / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/1.352, allocations: 8.703 kB / 1.358 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/1.352, allocations: 109 kB / 1.358 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/1.353, allocations: 19.89 kB / 1.358 GB, free: 31.78 MB / 0.8386 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 () * 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.0001002/1.353, allocations: 114 kB / 1.358 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001201/1.353, allocations: 102.8 kB / 1.358 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/1.353, allocations: 7.781 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/1.353, allocations: 14.86 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.353, allocations: 4 kB / 1.358 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.353, allocations: 3.953 kB / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.353, allocations: 0 / 1.358 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.887e-05/1.353, allocations: 162.3 kB / 1.358 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.353, allocations: 3.938 kB / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/1.353, allocations: 7.906 kB / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.353, allocations: 0 / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/1.353, allocations: 2.344 kB / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.353, allocations: 0 / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.353, allocations: 0 / 1.358 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/1.353, allocations: 134 kB / 1.359 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/1.353, allocations: 84.89 kB / 1.359 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/1.353, allocations: 0.875 kB / 1.359 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.437e-05/1.353, allocations: 9.984 kB / 1.359 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/1.353, allocations: 6.781 kB / 1.359 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/1.353, allocations: 3.875 kB / 1.359 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.238e-05/1.353, allocations: 92.7 kB / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.353, allocations: 0 / 1.359 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002527/1.354, allocations: 57.44 kB / 1.359 GB, free: 31.19 MB / 0.8386 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 () * 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.000411/1.354, allocations: 0.6721 MB / 1.359 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003331/1.354, allocations: 336.5 kB / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.354, allocations: 384 / 1.36 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-05/1.354, allocations: 45.56 kB / 1.36 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/1.355, allocations: 20.94 kB / 1.36 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/1.355, allocations: 163.1 kB / 1.36 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/1.355, allocations: 0.7029 MB / 1.361 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.165e-05/1.355, allocations: 12.19 kB / 1.361 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/1.355, allocations: 28.67 kB / 1.361 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.355, allocations: 3.812 kB / 1.361 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/1.378, allocations: 2.957 MB / 1.364 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/1.378, allocations: 141.1 kB / 1.364 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.99, allocations: 0 / 1.364 GB, free: 29.13 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat does not exist to compare? outputFormat=mat