Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001182/0.001182, allocations: 195.2 kB / 498.1 MB, free: 5.73 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.429/1.429, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.00103/0.00103, allocations: 96.31 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004558, allocations: 10.67 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3157, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/0.5075, allocations: 149.1 MB / 1.369 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5078, allocations: 63.97 kB / 1.369 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003285/0.5111, allocations: 1.098 MB / 1.37 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5112, allocations: 4 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.5112, allocations: 0 / 1.37 GB, free: 11.75 MB / 0.8698 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.00048/0.5117, allocations: 372.8 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5117, allocations: 12.03 kB / 1.37 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.038e-05/0.5118, allocations: 30.56 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.5118, allocations: 7.906 kB / 1.37 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.512, allocations: 174.9 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.5121, allocations: 8 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.5121, allocations: 4 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.5123, allocations: 57.67 kB / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.5123, allocations: 0 / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5123, allocations: 0 / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5123, allocations: 0 / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.5124, allocations: 35.97 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.513, allocations: 312.7 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.5133, allocations: 86.53 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.5133, allocations: 0 / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.5134, allocations: 34.56 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 2.906e-06/0.5134, allocations: 0 / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002933/0.5137, allocations: 89.66 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5137, allocations: 55.39 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.5138, allocations: 112.9 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.5139, allocations: 29.7 kB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.5139, allocations: 88.05 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.514, allocations: 15.89 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-06/0.514, allocations: 0 / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5141, allocations: 318.8 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.5141, allocations: 19.98 kB / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.77e-05/0.5142, allocations: 25.91 kB / 1.371 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.69e-05/0.5143, allocations: 20.06 kB / 1.371 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5143, allocations: 0 / 1.371 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001612/0.5145, allocations: 81.55 kB / 1.372 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.5145, allocations: 5.406 kB / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5145, allocations: 0 / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.5145, allocations: 0 / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.541e-05/0.5146, allocations: 8 kB / 1.372 GB, free: 9.566 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.5146, allocations: 3.953 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.5147, allocations: 19.98 kB / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.5147, allocations: 0 / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaH.hys.y,shaH.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.984e-05/0.5148, allocations: 113.8 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.5148, allocations: 8 kB / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.5149, allocations: 7.891 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5149, allocations: 0 / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5149, allocations: 0 / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5149, allocations: 7.953 kB / 1.372 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.5151, allocations: 173.6 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5151, allocations: 4 kB / 1.372 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.5151, allocations: 11.94 kB / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5151, allocations: 0 / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.5152, allocations: 4 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5152, allocations: 0 / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5152, allocations: 3.938 kB / 1.372 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.5154, allocations: 167.4 kB / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.5154, allocations: 85.03 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.5154, allocations: 4 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.5155, allocations: 8 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.5156, allocations: 7.984 kB / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.5156, allocations: 0 / 1.372 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.785e-05/0.5157, allocations: 95.27 kB / 1.372 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5157, allocations: 0 / 1.372 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002109/0.5159, allocations: 15.91 kB / 1.372 GB, free: 8.742 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0004842/0.5164, allocations: 0.7028 MB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.5165, allocations: 39.98 kB / 1.373 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5166, allocations: 0 / 1.373 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.5166, allocations: 23.92 kB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.5168, allocations: 4 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/0.5177, allocations: 0.514 MB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.5179, allocations: 0.6848 MB / 1.374 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.876e-05/0.518, allocations: 8.328 kB / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.518, allocations: 19.48 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/0.5181, allocations: 3.938 kB / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.531, allocations: 1.46 MB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.5312, allocations: 168.9 kB / 1.376 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/2.018, allocations: 0 / 1.376 GB, free: 5.055 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat does not exist to compare? outputFormat=mat