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.001889/0.001888, allocations: 99.86 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.003173/0.003172, 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.648/2.648, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.868/4.868, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0009248/0.0009249, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583/1.584, 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_H): time 0.001617/1.585, allocations: 423.5 kB / 0.9813 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002299/1.588, allocations: 0.8313 MB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/1.588, allocations: 0 / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.139e-05/1.588, allocations: 7.938 kB / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001749/1.588, allocations: 15.97 kB / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/1.588, allocations: 19.92 kB / 0.9821 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/1.589, allocations: 31.89 kB / 0.9822 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/1.589, allocations: 12 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/1.589, allocations: 19.92 kB / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/1.589, allocations: 27.91 kB / 0.9822 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/1.589, allocations: 0 / 0.9822 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.385e-05/1.589, allocations: 4 kB / 0.9822 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/1.589, allocations: 7.922 kB / 0.9822 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/1.59, allocations: 33.7 kB / 0.9823 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/1.59, allocations: 42.16 kB / 0.9823 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.59, allocations: 0 / 0.9823 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.829e-06/1.59, allocations: 0 / 0.9823 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.59, allocations: 3.938 kB / 0.9823 GB, free: 4.773 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.0009099/1.591, allocations: 363.1 kB / 0.9826 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.072e-05/1.591, allocations: 15.97 kB / 0.9827 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.931e-05/1.591, allocations: 34.56 kB / 0.9827 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/1.591, allocations: 7.906 kB / 0.9827 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/1.592, allocations: 191 kB / 0.9829 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/1.592, allocations: 4 kB / 0.9829 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/1.592, allocations: 4 kB / 0.9829 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/1.592, allocations: 65.62 kB / 0.983 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.592, allocations: 0 / 0.983 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/1.592, allocations: 4 kB / 0.983 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/1.592, allocations: 3.938 kB / 0.983 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/1.592, allocations: 35.92 kB / 0.983 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000812/1.593, allocations: 300.7 kB / 0.9833 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/1.594, allocations: 82.62 kB / 0.9834 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/1.594, allocations: 7.922 kB / 0.9834 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.567e-05/1.594, allocations: 34.56 kB / 0.9834 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/1.594, allocations: 0 / 0.9834 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005567/1.594, allocations: 85.62 kB / 0.9835 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.594, allocations: 51.41 kB / 0.9835 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/1.595, allocations: 117.8 kB / 0.9836 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/1.595, allocations: 29.69 kB / 0.9837 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/1.595, allocations: 96.08 kB / 0.9838 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/1.595, allocations: 3.906 kB / 0.9838 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/1.595, allocations: 0 / 0.9838 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.595, allocations: 322.8 kB / 0.9841 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/1.595, allocations: 16 kB / 0.9841 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/1.595, allocations: 33.64 kB / 0.9841 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/1.596, allocations: 15.98 kB / 0.9841 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/1.596, allocations: 3.953 kB / 0.9841 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002866/1.596, allocations: 73.62 kB / 0.9842 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.373e-05/1.596, allocations: 7.984 kB / 0.9842 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.596, allocations: 0 / 0.9842 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.596, allocations: 0 / 0.9842 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/1.596, allocations: 8 kB / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.596, allocations: 0 / 0.9842 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/1.596, allocations: 11.98 kB / 0.9842 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/1.596, allocations: 0 / 0.9842 GB, free: 2.551 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 0.0001619/1.596, allocations: 121.8 kB / 0.9844 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/1.596, allocations: 11.86 kB / 0.9844 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/1.597, allocations: 7.906 kB / 0.9844 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.597, allocations: 0 / 0.9844 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.972e-05/1.597, allocations: 3.938 kB / 0.9844 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/1.597, allocations: 7.922 kB / 0.9844 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/1.597, allocations: 177.7 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1.597, allocations: 0 / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.012e-05/1.597, allocations: 11.94 kB / 0.9846 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/1.597, allocations: 8 kB / 0.9846 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/1.597, allocations: 4 kB / 0.9846 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.597, allocations: 0 / 0.9846 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.597, allocations: 0 / 0.9846 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/1.598, allocations: 155.5 kB / 0.9847 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/1.598, allocations: 81.02 kB / 0.9848 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/1.598, allocations: 7.953 kB / 0.9848 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/1.598, allocations: 11.98 kB / 0.9848 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/1.598, allocations: 11.92 kB / 0.9848 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/1.598, allocations: 0 / 0.9848 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001002/1.598, allocations: 95.7 kB / 0.9849 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.3e-07/1.598, allocations: 4 kB / 0.9849 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004461/1.599, allocations: 4 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 (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.0007974/1.6, allocations: 0.6932 MB / 0.9856 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003041/1.6, allocations: 43.91 kB / 0.9857 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.6, allocations: 4 kB / 0.9857 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/1.6, allocations: 16.09 kB / 0.9857 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/1.6, allocations: 16.27 kB / 0.9857 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/1.602, allocations: 0.4973 MB / 0.9862 GB, free: 408 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/1.603, allocations: 0.6887 MB / 0.9868 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.042e-05/1.603, allocations: 11.98 kB / 0.9869 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/1.603, allocations: 23.38 kB / 0.9869 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of SimCode: time 1.282e-06/1.603, allocations: 0 / 0.9869 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06682/1.67, allocations: 1.474 MB / 0.9883 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003525/1.67, allocations: 178.3 kB / 0.9885 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/4.853, allocations: 0 / 0.9885 GB, free: 14.07 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