Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.0009278, allocations: 86.25 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.001062/0.001062, 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.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.572/2.572, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006075/0.0006078, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8421, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0009523/0.8431, allocations: 421 kB / 0.9815 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.8443, allocations: 0.8413 MB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.8444, allocations: 0 / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.8445, allocations: 7.922 kB / 0.9824 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.8446, allocations: 7.938 kB / 0.9824 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.8448, allocations: 11.98 kB / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.438e-05/0.8449, allocations: 51.8 kB / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.845, allocations: 19.97 kB / 0.9825 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.8451, allocations: 19.92 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.8452, allocations: 15.92 kB / 0.9825 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.8452, allocations: 4 kB / 0.9825 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.8452, allocations: 4 kB / 0.9825 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.8452, allocations: 15.91 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.8453, allocations: 33.7 kB / 0.9825 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.925e-05/0.8454, allocations: 42.16 kB / 0.9826 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.8454, allocations: 0 / 0.9826 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.477e-06/0.8454, allocations: 0 / 0.9826 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.8454, allocations: 3.938 kB / 0.9826 GB, free: 4.754 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.0005025/0.8459, allocations: 363.2 kB / 0.9829 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.846, allocations: 12.02 kB / 0.9829 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.846, allocations: 38.56 kB / 0.983 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.8461, allocations: 7.906 kB / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.8463, allocations: 187 kB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.8464, allocations: 4 kB / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.8464, allocations: 0 / 0.9832 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.8465, allocations: 61.62 kB / 0.9832 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.8465, allocations: 7.938 kB / 0.9832 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.8466, allocations: 4 kB / 0.9832 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.8466, allocations: 0 / 0.9832 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.8467, allocations: 39.91 kB / 0.9833 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.8471, allocations: 300.7 kB / 0.9836 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.8474, allocations: 94.45 kB / 0.9837 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.8475, allocations: 21 kB / 0.9837 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.8475, allocations: 3.938 kB / 0.9837 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.8475, allocations: 30.56 kB / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.8475, allocations: 0 / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002533/0.8478, allocations: 85.58 kB / 0.9838 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.8479, allocations: 51.41 kB / 0.9838 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.848, allocations: 121.8 kB / 0.984 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.848, allocations: 25.7 kB / 0.984 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.848, allocations: 92.08 kB / 0.9841 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.8481, allocations: 11.89 kB / 0.9841 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.8481, allocations: 3.938 kB / 0.9841 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.8482, allocations: 318.8 kB / 0.9844 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.503e-05/0.8483, allocations: 19.98 kB / 0.9844 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.8484, allocations: 29.7 kB / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.8484, allocations: 15.95 kB / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8484, allocations: 0 / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001622/0.8486, allocations: 77.61 kB / 0.9845 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.8486, allocations: 5.406 kB / 0.9845 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8486, allocations: 0 / 0.9845 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.8486, allocations: 0 / 0.9845 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.8487, allocations: 8 kB / 0.9845 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.8487, allocations: 3.938 kB / 0.9845 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.8488, allocations: 11.98 kB / 0.9845 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.8488, allocations: 0 / 0.9845 GB, free: 2.504 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.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 9.789e-05/0.8489, allocations: 121.8 kB / 0.9847 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.8489, allocations: 11.89 kB / 0.9847 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.849, allocations: 11.84 kB / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.849, allocations: 0 / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.849, allocations: 0 / 0.9847 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.849, allocations: 4 kB / 0.9847 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.8492, allocations: 169.6 kB / 0.9849 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.8492, allocations: 3.953 kB / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.8492, allocations: 12 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.8493, allocations: 0 / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.8493, allocations: 0 / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8493, allocations: 0 / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8493, allocations: 4 kB / 0.9849 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.8495, allocations: 159.8 kB / 0.985 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.8495, allocations: 92.97 kB / 0.9851 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.8496, allocations: 3.984 kB / 0.9851 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.8496, allocations: 8 kB / 0.9851 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.8497, allocations: 12.02 kB / 0.9851 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.8497, allocations: 0 / 0.9851 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.557e-05/0.8498, allocations: 103.2 kB / 0.9852 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8498, allocations: 0 / 0.9852 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002192/0.85, allocations: 4 kB / 0.9852 GB, free: 1.699 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 (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.0004734/0.8505, allocations: 0.7006 MB / 0.9859 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.8506, allocations: 39.92 kB / 0.986 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8507, allocations: 4 kB / 0.986 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.635e-05/0.8507, allocations: 19.98 kB / 0.986 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.851, allocations: 8.984 kB / 0.986 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/0.8519, allocations: 0.5044 MB / 0.9865 GB, free: 356 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.8522, allocations: 0.6809 MB / 0.9871 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.4e-05/0.8523, allocations: 11.98 kB / 0.9872 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.8523, allocations: 15.44 kB / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8523, allocations: 0 / 0.9872 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.8655, allocations: 1.49 MB / 0.9886 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003254/0.8659, allocations: 180.8 kB / 0.9888 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.658, allocations: 7.875 kB / 0.9888 GB, free: 14.02 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat does not exist to compare? outputFormat=mat