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.39/2.39, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.00107/0.00107, allocations: 190.8 kB / 0.4901 GB, free: 2.227 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.646/1.646, allocations: 223.1 MB / 0.7992 GB, free: 15.6 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.000913/0.0009129, allocations: 109.2 kB / 0.9396 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 11.7 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3024, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.499, allocations: 150.2 MB / 1.376 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4994, allocations: 67.97 kB / 1.376 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.008971/0.5084, allocations: 2.937 MB / 1.379 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5084, allocations: 0 / 1.379 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.5084, allocations: 0 / 1.379 GB, free: 11.99 MB / 0.8855 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.0004911/0.5089, allocations: 422.7 kB / 1.379 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.509, allocations: 8.562 kB / 1.379 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.509, allocations: 34.56 kB / 1.379 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.5091, allocations: 15.91 kB / 1.379 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.5092, allocations: 179 kB / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.5093, allocations: 4 kB / 1.379 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.5093, allocations: 8 kB / 1.38 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.5094, allocations: 45.69 kB / 1.38 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5094, allocations: 0 / 1.38 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.5095, allocations: 7.984 kB / 1.38 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.5095, allocations: 0 / 1.38 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.5095, allocations: 15.94 kB / 1.38 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.51, allocations: 352.8 kB / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.831e-05/0.5101, allocations: 38.56 kB / 1.38 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.5101, allocations: 0 / 1.38 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.5104, allocations: 87.3 kB / 1.38 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.5104, allocations: 0 / 1.38 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0002704/0.5106, allocations: 93.67 kB / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.5107, allocations: 63.36 kB / 1.38 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.5108, allocations: 113 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.5108, allocations: 33.64 kB / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.919e-05/0.5109, allocations: 96.31 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.5109, allocations: 15.8 kB / 1.38 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.5109, allocations: 7.938 kB / 1.38 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5111, allocations: 322.8 kB / 1.381 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.5112, allocations: 55.97 kB / 1.381 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.5114, allocations: 92.27 kB / 1.381 GB, free: 9.672 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.5115, allocations: 111.8 kB / 1.381 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.5115, allocations: 4 kB / 1.381 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004446/0.512, allocations: 260.8 kB / 1.381 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.5121, allocations: 67.39 kB / 1.381 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5121, allocations: 0 / 1.381 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.5121, allocations: 4 kB / 1.381 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.637e-05/0.5121, allocations: 11.92 kB / 1.381 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.5121, allocations: 4.312 kB / 1.381 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.5125, allocations: 71.92 kB / 1.381 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.5125, allocations: 12 kB / 1.381 GB, free: 9.094 MB / 0.8855 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 () * 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.0001148/0.5127, allocations: 121.8 kB / 1.382 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.5127, allocations: 7.906 kB / 1.382 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.5127, allocations: 12.38 kB / 1.382 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5127, allocations: 0 / 1.382 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5127, allocations: 0 / 1.382 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5127, allocations: 0 / 1.382 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.5129, allocations: 177.6 kB / 1.382 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5129, allocations: 0 / 1.382 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.5129, allocations: 11.94 kB / 1.382 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5129, allocations: 3.984 kB / 1.382 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.513, allocations: 0 / 1.382 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.513, allocations: 4.062 kB / 1.382 GB, free: 8.699 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.513, allocations: 7.984 kB / 1.382 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.5131, allocations: 113 kB / 1.382 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.5132, allocations: 81.02 kB / 1.382 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.5132, allocations: 7.984 kB / 1.382 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.5133, allocations: 0 / 1.382 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.5133, allocations: 4 kB / 1.382 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.5133, allocations: 3.984 kB / 1.382 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.5134, allocations: 87.28 kB / 1.382 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.734e-06/0.5134, allocations: 4 kB / 1.382 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002561/0.5136, allocations: 47.86 kB / 1.382 GB, free: 8.312 MB / 0.8855 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 () * 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.0005035/0.5142, allocations: 0.6524 MB / 1.383 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.5145, allocations: 246.8 kB / 1.383 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5146, allocations: 4.062 kB / 1.383 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.5147, allocations: 35.91 kB / 1.383 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.5149, allocations: 12.84 kB / 1.383 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.5157, allocations: 0.9911 MB / 1.384 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.516, allocations: 0.6887 MB / 1.385 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.516, allocations: 7.781 kB / 1.385 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.516, allocations: 19.44 kB / 1.385 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/0.5161, allocations: 0 / 1.385 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.5301, allocations: 2.546 MB / 1.387 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.5303, allocations: 180.5 kB / 1.387 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.606/2.137, allocations: 0 / 1.387 GB, free: 2.871 MB / 0.8855 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