Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.205/2.205, allocations: 390.3 MB / 402.8 MB, free: 6.73 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.00113/0.00113, allocations: 176.9 kB / 496.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008926/0.0008924, allocations: 99.89 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.576e-05/4.591e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3155, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.342, allocations: 150.1 MB / 1.365 GB, free: 3.867 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/1.342, allocations: 68.92 kB / 1.366 GB, free: 3.832 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008978/1.351, allocations: 2.928 MB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.364e-06/1.351, allocations: 4 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.128e-06/1.351, allocations: 0 / 1.368 GB, free: 1.285 MB / 0.823 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.0005686/1.352, allocations: 409.7 kB / 1.369 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.352, allocations: 8.031 kB / 1.369 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/1.352, allocations: 30.56 kB / 1.369 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/1.352, allocations: 15.47 kB / 1.369 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/1.352, allocations: 171 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/1.352, allocations: 7.984 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/1.352, allocations: 12 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/1.352, allocations: 47.44 kB / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.352, allocations: 0 / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/1.352, allocations: 0 / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.352, allocations: 0 / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.835e-05/1.352, allocations: 14.12 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/1.353, allocations: 358.2 kB / 1.369 GB, free: 136 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/1.353, allocations: 37.45 kB / 1.369 GB, free: 96 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/1.353, allocations: 16.31 kB / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/1.353, allocations: 0 / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/1.353, allocations: 86.09 kB / 1.37 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/1.353, allocations: 0 / 1.37 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002278/1.353, allocations: 87.55 kB / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.353, allocations: 59.41 kB / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/1.354, allocations: 112.1 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/1.354, allocations: 33.58 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.849e-05/1.354, allocations: 84.33 kB / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/1.354, allocations: 23.59 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/1.354, allocations: 3 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.354, allocations: 318.7 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/1.354, allocations: 56.8 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/1.354, allocations: 95.53 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/1.354, allocations: 105 kB / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/1.354, allocations: 0 / 1.37 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004103/1.355, allocations: 262.2 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.886e-05/1.355, allocations: 66.89 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.355, allocations: 4 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/1.355, allocations: 4.297 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.586e-05/1.355, allocations: 8.062 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.355, allocations: 3.953 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/1.355, allocations: 79.69 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/1.355, allocations: 11.98 kB / 1.371 GB, free: 14.62 MB / 0.8386 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,nand1.y) * Number of discrete 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.0001067/1.355, allocations: 117.9 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/1.355, allocations: 7.906 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/1.356, allocations: 12.44 kB / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.356, allocations: 0 / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.356, allocations: 0 / 1.371 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.356, allocations: 7.938 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/1.356, allocations: 168.5 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.356, allocations: 0 / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.161e-05/1.356, allocations: 7.75 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.356, allocations: 0 / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/1.356, allocations: 3.984 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.356, allocations: 0 / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.356, allocations: 4 kB / 1.371 GB, free: 14.26 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/1.356, allocations: 112.1 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/1.356, allocations: 89.08 kB / 1.371 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/1.356, allocations: 3.438 kB / 1.371 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/1.356, allocations: 0 / 1.371 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/1.356, allocations: 7.984 kB / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/1.356, allocations: 4 kB / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.754e-05/1.356, allocations: 90.78 kB / 1.372 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.356, allocations: 4 kB / 1.372 GB, free: 13.94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002286/1.356, allocations: 31.98 kB / 1.372 GB, free: 13.91 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete 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.0005925/1.357, allocations: 0.6587 MB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003402/1.357, allocations: 244.2 kB / 1.372 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.357, allocations: 4.062 kB / 1.372 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.625e-05/1.357, allocations: 30.67 kB / 1.372 GB, free: 13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/1.358, allocations: 13.12 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/1.358, allocations: 142.5 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/1.358, allocations: 0.689 MB / 1.373 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.007e-05/1.358, allocations: 11.78 kB / 1.373 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/1.358, allocations: 23.95 kB / 1.373 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of SimCode: time 3.7e-07/1.358, allocations: 3.938 kB / 1.373 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01416/1.373, allocations: 2.545 MB / 1.376 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.373, allocations: 163 kB / 1.376 GB, free: 9.441 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.918, allocations: 0 / 1.376 GB, free: 9.441 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat does not exist to compare? outputFormat=mat