Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001953/0.001954, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.408/2.408, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.612/4.612, allocations: 409.2 MB / 0.6838 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006699/0.0006701, allocations: 11.98 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667/1.667, allocations: 146.8 MB / 0.9809 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001365/1.669, allocations: 419.5 kB / 0.9813 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001629/1.67, allocations: 0.8391 MB / 0.9821 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/1.67, allocations: 0 / 0.9821 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/1.671, allocations: 3.938 kB / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/1.671, allocations: 7.984 kB / 0.9821 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/1.671, allocations: 15.92 kB / 0.9821 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001614/1.671, allocations: 43.88 kB / 0.9822 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/1.671, allocations: 12 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/1.671, allocations: 27.91 kB / 0.9822 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/1.672, allocations: 15.92 kB / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/1.672, allocations: 0 / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.495e-05/1.672, allocations: 4 kB / 0.9822 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/1.672, allocations: 11.92 kB / 0.9822 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.198e-05/1.672, allocations: 33.7 kB / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/1.672, allocations: 42.14 kB / 0.9823 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.672, allocations: 4 kB / 0.9823 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.635e-06/1.672, allocations: 3.938 kB / 0.9823 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.924e-06/1.672, allocations: 0 / 0.9823 GB, free: 4.77 MB / 0.7325 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.0007086/1.673, allocations: 363.1 kB / 0.9826 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/1.673, allocations: 12.03 kB / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/1.673, allocations: 34.56 kB / 0.9827 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/1.673, allocations: 7.906 kB / 0.9827 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/1.673, allocations: 187 kB / 0.9829 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/1.673, allocations: 8 kB / 0.9829 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/1.673, allocations: 0 / 0.9829 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/1.674, allocations: 65.62 kB / 0.9829 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.674, allocations: 0 / 0.9829 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/1.674, allocations: 7.938 kB / 0.983 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/1.674, allocations: 4 kB / 0.983 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/1.674, allocations: 31.92 kB / 0.983 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/1.675, allocations: 308.7 kB / 0.9833 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/1.675, allocations: 86.47 kB / 0.9834 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/1.675, allocations: 0 / 0.9834 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.675, allocations: 34.64 kB / 0.9834 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/1.675, allocations: 0 / 0.9834 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003926/1.675, allocations: 85.64 kB / 0.9835 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/1.676, allocations: 51.41 kB / 0.9835 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/1.676, allocations: 117.8 kB / 0.9836 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/1.676, allocations: 25.7 kB / 0.9837 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/1.676, allocations: 100 kB / 0.9838 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/1.676, allocations: 7.906 kB / 0.9838 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/1.676, allocations: 0 / 0.9838 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.676, allocations: 326.8 kB / 0.9841 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/1.676, allocations: 15.94 kB / 0.9841 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.072e-05/1.676, allocations: 29.7 kB / 0.9841 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/1.676, allocations: 16.27 kB / 0.9841 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.676, allocations: 3.953 kB / 0.9841 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002073/1.677, allocations: 77.61 kB / 0.9842 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.677, allocations: 4 kB / 0.9842 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.677, allocations: 3.984 kB / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/1.677, allocations: 0 / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/1.677, allocations: 7.984 kB / 0.9842 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.677, allocations: 4 kB / 0.9842 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/1.677, allocations: 15.98 kB / 0.9843 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/1.677, allocations: 3.938 kB / 0.9843 GB, free: 2.531 MB / 0.7325 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.shaT.hys.y,shaT.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 0.0001321/1.677, allocations: 115.4 kB / 0.9844 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/1.677, allocations: 11.86 kB / 0.9844 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/1.677, allocations: 7.906 kB / 0.9844 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.677, allocations: 0 / 0.9844 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.677, allocations: 3.938 kB / 0.9844 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.677, allocations: 0 / 0.9844 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/1.677, allocations: 173.6 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.677, allocations: 4 kB / 0.9846 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/1.678, allocations: 11.94 kB / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/1.678, allocations: 0 / 0.9846 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/1.678, allocations: 4 kB / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.678, allocations: 0 / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.678, allocations: 0 / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/1.678, allocations: 163.5 kB / 0.9847 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/1.678, allocations: 81.02 kB / 0.9848 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/1.678, allocations: 7.953 kB / 0.9848 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/1.678, allocations: 11.98 kB / 0.9848 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/1.678, allocations: 7.984 kB / 0.9848 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/1.678, allocations: 0 / 0.9848 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.912e-05/1.678, allocations: 91.27 kB / 0.9849 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/1.678, allocations: 0 / 0.9849 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004382/1.679, allocations: 12 kB / 0.9849 GB, free: 1.742 MB / 0.7325 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0005925/1.679, allocations: 0.6928 MB / 0.9856 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002226/1.68, allocations: 47.91 kB / 0.9857 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.68, allocations: 3.938 kB / 0.9857 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/1.68, allocations: 16 kB / 0.9857 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/1.68, allocations: 7.953 kB / 0.9857 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/1.681, allocations: 0.5007 MB / 0.9862 GB, free: 408 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/1.682, allocations: 0.6897 MB / 0.9868 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.232e-05/1.682, allocations: 12.41 kB / 0.9869 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/1.682, allocations: 15.44 kB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of SimCode: time 5.51e-07/1.682, allocations: 4 kB / 0.9869 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/1.716, allocations: 1.475 MB / 0.9883 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000403/1.717, allocations: 178.3 kB / 0.9885 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/4.874, allocations: 0 / 0.9885 GB, free: 14.07 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat does not exist to compare? outputFormat=mat