Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_9_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_9_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.0008436/0.0008437, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001151/0.001151, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006088/0.000609, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7819, allocations: 142.3 MB / 0.9539 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0008798/0.7828, allocations: 416.7 kB / 0.9542 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.7837, allocations: 0.8353 MB / 0.9551 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.7837, allocations: 0.7812 kB / 0.9551 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.7838, allocations: 1.125 kB / 0.9551 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/0.7838, allocations: 12.92 kB / 0.9551 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.784, allocations: 18.89 kB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.7841, allocations: 51.59 kB / 0.9551 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.7842, allocations: 12.03 kB / 0.9552 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.7843, allocations: 27.78 kB / 0.9552 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.7843, allocations: 19.23 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.7844, allocations: 1.312 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.7844, allocations: 2.281 kB / 0.9552 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.7844, allocations: 9.109 kB / 0.9552 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.7844, allocations: 33.42 kB / 0.9552 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.977e-05/0.7845, allocations: 56.05 kB / 0.9553 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7845, allocations: 0.9375 kB / 0.9553 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7845, allocations: 0 / 0.9553 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.7845, allocations: 4 kB / 0.9553 GB, free: 6.906 MB / 0.7169 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.0003735/0.7849, allocations: 362.6 kB / 0.9557 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.7849, allocations: 8.656 kB / 0.9557 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.642e-05/0.785, allocations: 31.69 kB / 0.9557 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.785, allocations: 12.08 kB / 0.9557 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.7852, allocations: 196 kB / 0.9559 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.7852, allocations: 10.55 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.7853, allocations: 2.438 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.7854, allocations: 57.67 kB / 0.956 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.7854, allocations: 0 / 0.956 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.7854, allocations: 0 / 0.956 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.7854, allocations: 5.141 kB / 0.956 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.449e-05/0.7855, allocations: 36.06 kB / 0.956 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.7859, allocations: 305.4 kB / 0.9563 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.7861, allocations: 86.42 kB / 0.9564 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.7862, allocations: 17.77 kB / 0.9564 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.7862, allocations: 5.203 kB / 0.9564 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.7862, allocations: 39.81 kB / 0.9564 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.522e-06/0.7862, allocations: 0 / 0.9564 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002246/0.7865, allocations: 79.12 kB / 0.9565 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.7865, allocations: 52.53 kB / 0.9566 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.7866, allocations: 117.1 kB / 0.9567 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.7866, allocations: 26.77 kB / 0.9567 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.7866, allocations: 108.5 kB / 0.9568 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.7866, allocations: 5.031 kB / 0.9568 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.7867, allocations: 0 / 0.9568 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.7867, allocations: 316.2 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.7868, allocations: 18.2 kB / 0.9571 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.7868, allocations: 30.08 kB / 0.9571 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.7869, allocations: 20.75 kB / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7869, allocations: 0 / 0.9572 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001197/0.787, allocations: 70.23 kB / 0.9572 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.787, allocations: 9.609 kB / 0.9572 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.787, allocations: 0 / 0.9572 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.7871, allocations: 1.094 kB / 0.9572 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.7871, allocations: 9.266 kB / 0.9573 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7871, allocations: 4 kB / 0.9573 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.624e-05/0.7872, allocations: 12.89 kB / 0.9573 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.7872, allocations: 4.969 kB / 0.9573 GB, free: 4.957 MB / 0.7169 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 5.765e-05/0.7873, allocations: 113.5 kB / 0.9574 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.7873, allocations: 3.406 kB / 0.9574 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.7873, allocations: 13.08 kB / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.7873, allocations: 0 / 0.9574 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7873, allocations: 9.156 kB / 0.9574 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7874, allocations: 336 / 0.9574 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.7875, allocations: 180 kB / 0.9576 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7875, allocations: 4 kB / 0.9576 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.7875, allocations: 5.156 kB / 0.9576 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.7875, allocations: 5.422 kB / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.7876, allocations: 3.984 kB / 0.9576 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7876, allocations: 5.391 kB / 0.9576 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7876, allocations: 3.938 kB / 0.9576 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.7877, allocations: 157.5 kB / 0.9578 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.7877, allocations: 83.02 kB / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.7878, allocations: 0.9688 kB / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.7878, allocations: 6.281 kB / 0.9578 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.7879, allocations: 15.14 kB / 0.9579 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.7879, allocations: 9.188 kB / 0.9579 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.609e-05/0.7879, allocations: 92.92 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7879, allocations: 5.188 kB / 0.958 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000214/0.7882, allocations: 6.688 kB / 0.958 GB, free: 4.23 MB / 0.7169 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.0002961/0.7885, allocations: 0.6994 MB / 0.9586 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.7886, allocations: 34.86 kB / 0.9587 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.7886, allocations: 0 / 0.9587 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.7887, allocations: 20.52 kB / 0.9587 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.7889, allocations: 12.39 kB / 0.9587 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006922/0.7896, allocations: 0.5038 MB / 0.9592 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.7898, allocations: 0.6857 MB / 0.9599 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.7898, allocations: 2.562 kB / 0.9599 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.7898, allocations: 25.92 kB / 0.9599 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7898, allocations: 0 / 0.9599 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01232/0.8022, allocations: 1.482 MB / 0.9613 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/0.8023, allocations: 181.5 kB / 0.9615 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.513, allocations: 7.938 kB / 0.9615 GB, free: 1.418 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat does not exist to compare? outputFormat=mat