Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.264/2.264, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.00111/0.00111, allocations: 179.9 kB / 0.4901 GB, free: 2.281 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.524/1.524, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009216/0.0009216, allocations: 100.2 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0006798/0.0006798, allocations: 11.3 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3077, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.4979, allocations: 150.2 MB / 1.376 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.4982, allocations: 75.95 kB / 1.376 GB, free: 3.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008844/0.5071, allocations: 2.93 MB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of FrontEnd: time 4.438e-06/0.5071, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.5071, allocations: 7.938 kB / 1.379 GB, free: 296 kB / 0.8698 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.0005279/0.5077, allocations: 418.6 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5077, allocations: 8.562 kB / 1.379 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.5078, allocations: 38.56 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.5078, allocations: 11.91 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.508, allocations: 174.9 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.508, allocations: 4 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.5081, allocations: 12 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.5082, allocations: 45.69 kB / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.5082, allocations: 0 / 1.38 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.5082, allocations: 3.984 kB / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.5082, allocations: 4 kB / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.5083, allocations: 15.94 kB / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.5089, allocations: 352.8 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.761e-05/0.509, allocations: 30.56 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.509, allocations: 0 / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.5092, allocations: 87.31 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.5092, allocations: 0 / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0002872/0.5095, allocations: 105.9 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.5095, allocations: 55.36 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.5096, allocations: 117 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.5097, allocations: 29.7 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.5098, allocations: 92.31 kB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.5098, allocations: 15.81 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.5098, allocations: 15.88 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5099, allocations: 318.8 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.5101, allocations: 59.97 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.5102, allocations: 88.31 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.5104, allocations: 119.4 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5104, allocations: 0 / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00041/0.5108, allocations: 248.9 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/0.5109, allocations: 73.73 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5109, allocations: 0 / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5109, allocations: 3.984 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.291e-05/0.5109, allocations: 15.92 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5109, allocations: 0 / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.5113, allocations: 79.92 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.5113, allocations: 12 kB / 1.381 GB, free: 13.4 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,nor1.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.0001075/0.5114, allocations: 125.8 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.5115, allocations: 4 kB / 1.382 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.5115, allocations: 8.375 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5115, allocations: 4 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5115, allocations: 0 / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5115, allocations: 0 / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.5117, allocations: 182 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5117, allocations: 0 / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.5117, allocations: 11.94 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5117, allocations: 0 / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.5117, allocations: 8.062 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.5117, allocations: 3.938 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5117, allocations: 0 / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.5119, allocations: 113 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.512, allocations: 81.02 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.512, allocations: 3.984 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.512, allocations: 4 kB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.512, allocations: 4 kB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.5121, allocations: 7.984 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.5121, allocations: 87.28 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5121, allocations: 0 / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002507/0.5124, allocations: 43.92 kB / 1.382 GB, free: 12.62 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,nor1.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.00051/0.5129, allocations: 0.6589 MB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.5133, allocations: 246.7 kB / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5133, allocations: 0 / 1.383 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.323e-05/0.5133, allocations: 31.92 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.5135, allocations: 7.984 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008988/0.5144, allocations: 0.9991 MB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.5147, allocations: 0.6903 MB / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.5148, allocations: 7.781 kB / 1.385 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.5148, allocations: 19.44 kB / 1.385 GB, free: 9.816 MB / 0.8855 GB Notification: Performance of SimCode: time 3.41e-07/0.5148, allocations: 4 kB / 1.385 GB, free: 9.812 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.5297, allocations: 2.537 MB / 1.387 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.5299, allocations: 178.9 kB / 1.387 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.1, allocations: 4.062 kB / 1.387 GB, free: 7.176 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat does not exist to compare? outputFormat=mat