Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.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.Or3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.271/2.271, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.00127/0.00127, allocations: 184.8 kB / 496.1 MB, free: 12.86 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.491/1.491, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009121/0.0009121, allocations: 95.94 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.632e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.291, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8175/1.109, allocations: 150.1 MB / 1.365 GB, free: 3.855 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/1.109, allocations: 73.14 kB / 1.366 GB, free: 3.816 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01219/1.121, allocations: 4.06 MB / 1.37 GB, free: 292 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.413e-06/1.121, allocations: 0 / 1.37 GB, free: 292 kB / 0.823 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.121, allocations: 0 / 1.37 GB, free: 292 kB / 0.823 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.0005088/1.122, allocations: 461.9 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.122, allocations: 11.97 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/1.122, allocations: 38.55 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/1.122, allocations: 15.91 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/1.122, allocations: 171 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/1.122, allocations: 11.81 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/1.122, allocations: 12 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/1.122, allocations: 52.55 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/1.122, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/1.122, allocations: 4 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.122, allocations: 0 / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.236e-05/1.122, allocations: 23.06 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/1.123, allocations: 421.2 kB / 1.371 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.331e-05/1.123, allocations: 30.86 kB / 1.371 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/1.123, allocations: 20.55 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/1.123, allocations: 0 / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/1.123, allocations: 104.5 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/1.123, allocations: 0 / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002377/1.123, allocations: 118.6 kB / 1.371 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.123, allocations: 58.47 kB / 1.371 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/1.124, allocations: 125.1 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/1.124, allocations: 32.7 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/1.124, allocations: 95.62 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/1.124, allocations: 23.72 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/1.124, allocations: 11.88 kB / 1.371 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.124, allocations: 322.6 kB / 1.372 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/1.124, allocations: 83.92 kB / 1.372 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/1.124, allocations: 138.7 kB / 1.372 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/1.124, allocations: 163.7 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.124, allocations: 4 kB / 1.372 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005645/1.125, allocations: 366 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/1.125, allocations: 98.84 kB / 1.372 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.125, allocations: 192 / 1.372 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.125, allocations: 11.95 kB / 1.372 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.666e-05/1.125, allocations: 15.92 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.125, allocations: 4 kB / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/1.126, allocations: 103 kB / 1.373 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/1.126, allocations: 23.92 kB / 1.373 GB, free: 13.16 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,or1.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 9.942e-05/1.126, allocations: 124.5 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/1.126, allocations: 7.906 kB / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/1.126, allocations: 16.36 kB / 1.373 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.126, allocations: 3.953 kB / 1.373 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.126, allocations: 0 / 1.373 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.126, allocations: 0 / 1.373 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/1.126, allocations: 186.7 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.126, allocations: 0 / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.466e-05/1.126, allocations: 7.984 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/1.126, allocations: 4 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/1.126, allocations: 0 / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.126, allocations: 4 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.126, allocations: 3.953 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/1.126, allocations: 137.5 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/1.126, allocations: 85.02 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/1.126, allocations: 0 / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.618e-05/1.126, allocations: 4 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/1.126, allocations: 15.86 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/1.126, allocations: 7.953 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.734e-05/1.127, allocations: 100.2 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.127, allocations: 0 / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002553/1.127, allocations: 51.56 kB / 1.373 GB, free: 12.38 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,or1.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.0005075/1.127, allocations: 0.6785 MB / 1.374 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004231/1.128, allocations: 359.9 kB / 1.374 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.128, allocations: 0 / 1.374 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/1.128, allocations: 37.94 kB / 1.374 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/1.128, allocations: 24.8 kB / 1.374 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/1.128, allocations: 171.2 kB / 1.375 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/1.129, allocations: 0.7043 MB / 1.375 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.836e-05/1.129, allocations: 4.438 kB / 1.375 GB, free: 10.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/1.129, allocations: 28.17 kB / 1.375 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.129, allocations: 0 / 1.375 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/1.143, allocations: 3.432 MB / 1.379 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/1.143, allocations: 156 kB / 1.379 GB, free: 6.879 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.887, allocations: 0 / 1.379 GB, free: 6.879 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or3_res.mat does not exist to compare? outputFormat=mat