Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_8_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.00143/0.001431, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 197.9 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.73/1.73, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 65.94 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2373, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002205/0.2395, allocations: 0.7129 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.2405, allocations: 0.8398 MB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.566e-05/0.2406, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.2407, allocations: 7.875 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.259e-05/0.2408, allocations: 11.92 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.241, allocations: 23.92 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.2411, allocations: 59.84 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2412, allocations: 15.98 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.2413, allocations: 27.92 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.2414, allocations: 23.86 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2414, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/0.2415, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.2415, allocations: 31.84 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.2416, allocations: 23.86 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.2417, allocations: 68.06 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2417, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.966e-06/0.2417, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2417, allocations: 3.938 kB / 0.7853 GB, free: 11.5 MB / 0.6075 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.0004937/0.2422, allocations: 365.7 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2423, allocations: 12.03 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.2423, allocations: 42.73 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.2423, allocations: 12.84 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.2426, allocations: 192.2 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2426, allocations: 384 / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.2426, allocations: 4.375 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.2428, allocations: 62.11 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2428, allocations: 7.922 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.2428, allocations: 0 / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2428, allocations: 4 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.2429, allocations: 31.98 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.2433, allocations: 296.7 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.2436, allocations: 74.47 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.2437, allocations: 21 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2437, allocations: 0 / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2437, allocations: 30.56 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.2437, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002386/0.244, allocations: 65.67 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.244, allocations: 63.34 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/0.2441, allocations: 125.8 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2441, allocations: 25.7 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.2442, allocations: 92.05 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.2442, allocations: 19.89 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2443, allocations: 13.72 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.2444, allocations: 318.8 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.2444, allocations: 15.98 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/0.2445, allocations: 33.7 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.934e-05/0.2446, allocations: 32.78 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2446, allocations: 0 / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.2447, allocations: 73.52 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2447, allocations: 4 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2448, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2448, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.22e-05/0.2448, allocations: 8.031 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2448, allocations: 4 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.807e-05/0.2449, allocations: 7.984 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2449, allocations: 0 / 0.7873 GB, free: 9.246 MB / 0.6075 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 (shaT.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.493e-05/0.245, allocations: 117.8 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.245, allocations: 4 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.2451, allocations: 11.89 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2451, allocations: 0 / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2451, allocations: 0 / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2451, allocations: 4 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.2452, allocations: 173.6 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2453, allocations: 336 / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.2453, allocations: 7.984 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2453, allocations: 0 / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.2453, allocations: 4 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2453, allocations: 7.938 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2453, allocations: 0 / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.2455, allocations: 171.3 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.2456, allocations: 85.02 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.2456, allocations: 0 / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.2457, allocations: 7.984 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.2457, allocations: 7.984 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.2457, allocations: 0 / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.971e-05/0.2458, allocations: 99.7 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2458, allocations: 0 / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000218/0.246, allocations: 8 kB / 0.7879 GB, free: 8.449 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004047/0.2464, allocations: 0.6889 MB / 0.7886 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.2466, allocations: 39.91 kB / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2466, allocations: 0 / 0.7886 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.044e-05/0.2466, allocations: 16 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.2469, allocations: 12.31 kB / 0.7887 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2482, allocations: 1.323 MB / 0.79 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.2484, allocations: 0.6924 MB / 0.7906 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.2484, allocations: 0 / 0.7906 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.2485, allocations: 23.42 kB / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2485, allocations: 0 / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.2656, allocations: 1.704 MB / 0.7923 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.417/7.682, allocations: 15.17 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)