Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.476/2.476, allocations: 393.5 MB / 408.4 MB, free: 11 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.00119/0.00119, allocations: 175.9 kB / 0.4901 GB, free: 2.242 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.527/1.527, allocations: 223.1 MB / 0.7992 GB, free: 15.63 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.00097/0.0009702, allocations: 98.22 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004949, allocations: 14.64 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2809, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.4867, allocations: 154.2 MB / 1.38 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.487, allocations: 83.95 kB / 1.38 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04087/0.5279, allocations: 11.16 MB / 1.391 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.432e-06/0.528, allocations: 0 / 1.391 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.699e-05/0.528, allocations: 8 kB / 1.391 GB, free: 15.74 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001225/0.5293, allocations: 0.6109 MB / 1.391 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5293, allocations: 8.562 kB / 1.391 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.817e-05/0.5294, allocations: 42.56 kB / 1.391 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.5296, allocations: 43.47 kB / 1.392 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008338/0.5304, allocations: 397.1 kB / 1.392 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.5305, allocations: 11.94 kB / 1.392 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.5305, allocations: 4 kB / 1.392 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.5308, allocations: 109.6 kB / 1.392 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5308, allocations: 0 / 1.392 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.5308, allocations: 8 kB / 1.392 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.5308, allocations: 4 kB / 1.392 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.531, allocations: 67.91 kB / 1.392 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009815/0.532, allocations: 0.5042 MB / 1.393 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.5324, allocations: 142.7 kB / 1.393 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.5324, allocations: 19.91 kB / 1.393 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.5327, allocations: 107.3 kB / 1.393 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=13): time 1.993e-06/0.5327, allocations: 0 / 1.393 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13): time 0.0005852/0.5333, allocations: 236.9 kB / 1.393 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.5333, allocations: 51.41 kB / 1.393 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006565/0.534, allocations: 488.6 kB / 1.394 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.534, allocations: 25.7 kB / 1.394 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.5342, allocations: 160.7 kB / 1.394 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.5342, allocations: 43.48 kB / 1.394 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.5343, allocations: 7.938 kB / 1.394 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5344, allocations: 350.8 kB / 1.394 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.5346, allocations: 120.5 kB / 1.394 GB, free: 12 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.5349, allocations: 155.6 kB / 1.394 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.5352, allocations: 120.5 kB / 1.395 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5352, allocations: 0 / 1.395 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006259/0.5358, allocations: 374.1 kB / 1.395 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5358, allocations: 7.953 kB / 1.395 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5358, allocations: 0 / 1.395 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5359, allocations: 4 kB / 1.395 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.5361, allocations: 55.91 kB / 1.395 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5361, allocations: 0 / 1.395 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.5363, allocations: 15.94 kB / 1.395 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/0.5364, allocations: 15.98 kB / 1.395 GB, free: 11.26 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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.000209/0.5366, allocations: 190.4 kB / 1.395 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.5366, allocations: 35.53 kB / 1.395 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.5371, allocations: 208.6 kB / 1.395 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5371, allocations: 4 kB / 1.395 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.5371, allocations: 0 / 1.395 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5371, allocations: 3.984 kB / 1.395 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.5374, allocations: 305.5 kB / 1.396 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5374, allocations: 4 kB / 1.396 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/0.5375, allocations: 15.98 kB / 1.396 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.5375, allocations: 4 kB / 1.396 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5376, allocations: 0 / 1.396 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.5376, allocations: 3.953 kB / 1.396 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5376, allocations: 4 kB / 1.396 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.538, allocations: 222.7 kB / 1.396 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.5381, allocations: 120.7 kB / 1.396 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.5381, allocations: 11.98 kB / 1.396 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.5383, allocations: 8 kB / 1.396 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.5383, allocations: 27.92 kB / 1.396 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.5384, allocations: 4 kB / 1.396 GB, free: 10 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003642/0.5387, allocations: 323.1 kB / 1.396 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5387, allocations: 0 / 1.396 GB, free: 9.691 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003379/0.5391, allocations: 71.84 kB / 1.396 GB, free: 9.621 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.u1,intEqu.u2,intEqu.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001608/0.5407, allocations: 1.098 MB / 1.398 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004138/0.5411, allocations: 195.8 kB / 1.398 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5411, allocations: 0 / 1.398 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.5413, allocations: 71.91 kB / 1.398 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.5417, allocations: 86.17 kB / 1.398 GB, free: 8.312 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.5434, allocations: 1.204 MB / 1.399 GB, free: 7.047 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.5438, allocations: 0.8065 MB / 1.4 GB, free: 6.211 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001755/0.544, allocations: 50.95 kB / 1.4 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.5442, allocations: 111.4 kB / 1.4 GB, free: 6.055 MB / 0.9011 GB Notification: Performance of SimCode: time 3.4e-07/0.5442, allocations: 3.938 kB / 1.4 GB, free: 6.051 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5555/1.1, allocations: 7.021 MB / 1.407 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/1.1, allocations: 224.1 kB / 1.407 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/3.196, allocations: 0.6875 kB / 1.407 GB, free: 169.1 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat does not exist to compare? outputFormat=mat