Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.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.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",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.601/2.601, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001227/0.001227, allocations: 179.9 kB / 0.4901 GB, free: 2.238 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.482/1.482, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001025/0.001024, allocations: 108.7 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004159, allocations: 14.31 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2985, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.4914, allocations: 154.1 MB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.4917, allocations: 79.95 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03083/0.5226, allocations: 11.15 MB / 1.391 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5226, allocations: 4.219 kB / 1.391 GB, free: 4.07 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.64e-05/0.5227, allocations: 7.938 kB / 1.391 GB, free: 4.062 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001033/0.5237, allocations: 0.6069 MB / 1.391 GB, free: 3.406 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.5238, allocations: 12.56 kB / 1.391 GB, free: 3.395 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.524e-05/0.5238, allocations: 38.55 kB / 1.391 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.578e-05/0.5239, allocations: 43.48 kB / 1.391 GB, free: 3.305 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.5247, allocations: 409.1 kB / 1.392 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.5247, allocations: 4 kB / 1.392 GB, free: 2.863 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.5248, allocations: 8 kB / 1.392 GB, free: 2.855 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.525, allocations: 111.6 kB / 1.392 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.525, allocations: 0 / 1.392 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.5251, allocations: 0 / 1.392 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5251, allocations: 4 kB / 1.392 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.5253, allocations: 67.91 kB / 1.392 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009076/0.5262, allocations: 0.512 MB / 1.393 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.5265, allocations: 146.8 kB / 1.393 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.5266, allocations: 0 / 1.393 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.5268, allocations: 119.5 kB / 1.393 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 3.256e-06/0.5268, allocations: 0 / 1.393 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005243/0.5273, allocations: 229.3 kB / 1.393 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.5274, allocations: 63.34 kB / 1.393 GB, free: 1.523 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.5279, allocations: 480.6 kB / 1.394 GB, free: 1.047 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.528, allocations: 33.7 kB / 1.394 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.5281, allocations: 164.4 kB / 1.394 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.5281, allocations: 35.55 kB / 1.394 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.5282, allocations: 8 kB / 1.394 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5283, allocations: 346.8 kB / 1.394 GB, free: 460 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.5285, allocations: 120.5 kB / 1.394 GB, free: 336 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.5287, allocations: 151.6 kB / 1.394 GB, free: 176 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.529, allocations: 132.5 kB / 1.394 GB, free: 44 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.529, allocations: 0 / 1.394 GB, free: 44 kB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005925/0.5296, allocations: 366 kB / 1.395 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5296, allocations: 7.953 kB / 1.395 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5296, allocations: 4 kB / 1.395 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.5296, allocations: 4.062 kB / 1.395 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.5299, allocations: 55.91 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.5299, allocations: 0 / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.5301, allocations: 12 kB / 1.395 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.5302, allocations: 15.98 kB / 1.395 GB, free: 15.58 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,product.u1,product.u2,product.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.0001759/0.5303, allocations: 181.7 kB / 1.395 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.5304, allocations: 35.53 kB / 1.395 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.5308, allocations: 220.6 kB / 1.395 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5308, allocations: 3.938 kB / 1.395 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5309, allocations: 0 / 1.395 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5309, allocations: 7.984 kB / 1.395 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.5311, allocations: 305.4 kB / 1.396 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5311, allocations: 0 / 1.396 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.5312, allocations: 19.98 kB / 1.396 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5312, allocations: 4 kB / 1.396 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.5313, allocations: 0 / 1.396 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5313, allocations: 11.94 kB / 1.396 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5313, allocations: 0 / 1.396 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.5317, allocations: 234.8 kB / 1.396 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.5318, allocations: 120.6 kB / 1.396 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.5318, allocations: 4 kB / 1.396 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.5319, allocations: 8 kB / 1.396 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.532, allocations: 23.92 kB / 1.396 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.5321, allocations: 11.98 kB / 1.396 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003268/0.5324, allocations: 319.1 kB / 1.396 GB, free: 14 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5324, allocations: 0 / 1.396 GB, free: 14 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003279/0.5327, allocations: 79.84 kB / 1.396 GB, free: 13.92 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,product.u1,product.u2,product.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.001567/0.5343, allocations: 1.088 MB / 1.398 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.5347, allocations: 195.8 kB / 1.398 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5347, allocations: 3.938 kB / 1.398 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.5349, allocations: 67.91 kB / 1.398 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.5353, allocations: 82.31 kB / 1.398 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.5371, allocations: 1.206 MB / 1.399 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.5376, allocations: 0.8027 MB / 1.4 GB, free: 10.53 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002082/0.5378, allocations: 50.94 kB / 1.4 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.538, allocations: 111.4 kB / 1.4 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of SimCode: time 8.82e-07/0.5381, allocations: 4 kB / 1.4 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.5603, allocations: 7.042 MB / 1.407 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/0.5605, allocations: 220.2 kB / 1.407 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.644, allocations: 0 / 1.407 GB, free: 3.27 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.mat does not exist to compare? outputFormat=mat