Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_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.0009054/0.0009053, allocations: 99.47 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.0009086/0.0009086, allocations: 177.3 kB / 15.94 MB, free: 228 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.525/1.525, allocations: 223.2 MB / 239.9 MB, free: 5.344 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.502/2.502, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8313, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0009052/0.8322, allocations: 422.3 kB / 0.954 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.8333, allocations: 0.8368 MB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.8333, allocations: 1.469 kB / 0.9548 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.8334, allocations: 3.938 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.922e-05/0.8335, allocations: 10.56 kB / 0.9548 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.8336, allocations: 14.55 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.693e-05/0.8337, allocations: 35.02 kB / 0.9549 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.8338, allocations: 15.19 kB / 0.9549 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.8339, allocations: 27.59 kB / 0.9549 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.834, allocations: 18.98 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.834, allocations: 2.375 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.834, allocations: 1.156 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.8341, allocations: 10.39 kB / 0.9549 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.8341, allocations: 32.08 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.636e-05/0.8342, allocations: 44.33 kB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.8342, allocations: 0 / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8342, allocations: 1.125 kB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.8342, allocations: 0 / 0.955 GB, free: 6.934 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.0004144/0.8346, allocations: 366.6 kB / 0.9554 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.8347, allocations: 8.812 kB / 0.9554 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.8347, allocations: 35.19 kB / 0.9554 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.8347, allocations: 16.23 kB / 0.9554 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.835, allocations: 188.2 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.835, allocations: 9.344 kB / 0.9556 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.835, allocations: 12.14 kB / 0.9556 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.8352, allocations: 55.42 kB / 0.9557 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.8352, allocations: 1.094 kB / 0.9557 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.8352, allocations: 0 / 0.9557 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.8352, allocations: 5.453 kB / 0.9557 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.8353, allocations: 31.23 kB / 0.9557 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.8357, allocations: 309.1 kB / 0.956 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.836, allocations: 83.34 kB / 0.9561 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.8361, allocations: 3.984 kB / 0.9561 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.8361, allocations: 39.64 kB / 0.9561 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.8361, allocations: 0 / 0.9561 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002592/0.8363, allocations: 76.55 kB / 0.9562 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.8364, allocations: 51.41 kB / 0.9562 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.075e-05/0.8365, allocations: 125.5 kB / 0.9564 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.8365, allocations: 26.98 kB / 0.9564 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.8365, allocations: 102.4 kB / 0.9565 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.8365, allocations: 5.094 kB / 0.9565 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.8366, allocations: 5.219 kB / 0.9565 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.582e-05/0.8366, allocations: 320 kB / 0.9568 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.8367, allocations: 14.44 kB / 0.9568 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.8368, allocations: 28.2 kB / 0.9568 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.51e-05/0.8368, allocations: 22.77 kB / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8368, allocations: 4.031 kB / 0.9569 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001352/0.837, allocations: 66.66 kB / 0.9569 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.837, allocations: 10.08 kB / 0.9569 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.837, allocations: 3.984 kB / 0.9569 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.837, allocations: 0 / 0.9569 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.8371, allocations: 6.25 kB / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.8371, allocations: 0 / 0.957 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.8372, allocations: 16.48 kB / 0.957 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.8372, allocations: 1.812 kB / 0.957 GB, free: 4.988 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.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 6.643e-05/0.8372, allocations: 113 kB / 0.9571 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.8373, allocations: 3.125 kB / 0.9571 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.8373, allocations: 12.7 kB / 0.9571 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.8373, allocations: 5 kB / 0.9571 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.8373, allocations: 4 kB / 0.9571 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8373, allocations: 4.797 kB / 0.9571 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.8375, allocations: 179.8 kB / 0.9573 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8375, allocations: 0 / 0.9573 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.8375, allocations: 10.03 kB / 0.9573 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8376, allocations: 0 / 0.9573 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.8376, allocations: 4.781 kB / 0.9573 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.8376, allocations: 3.953 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8376, allocations: 1.188 kB / 0.9573 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.8377, allocations: 162.7 kB / 0.9575 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.8378, allocations: 82.48 kB / 0.9575 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.8378, allocations: 6.031 kB / 0.9575 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.8379, allocations: 8.266 kB / 0.9575 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.8379, allocations: 11.47 kB / 0.9576 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.8379, allocations: 1.219 kB / 0.9576 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.838, allocations: 101.6 kB / 0.9577 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.838, allocations: 4 kB / 0.9577 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002185/0.8382, allocations: 9.469 kB / 0.9577 GB, free: 4.258 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 (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.0002946/0.8385, allocations: 0.6899 MB / 0.9583 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.8387, allocations: 42.81 kB / 0.9584 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.8387, allocations: 0 / 0.9584 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.169e-05/0.8387, allocations: 15.94 kB / 0.9584 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.8389, allocations: 14.97 kB / 0.9584 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007849/0.8397, allocations: 0.4956 MB / 0.9589 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.8399, allocations: 0.6923 MB / 0.9596 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.233e-05/0.8399, allocations: 7.672 kB / 0.9596 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.8399, allocations: 14.25 kB / 0.9596 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.84, allocations: 0 / 0.9596 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.8513, allocations: 1.475 MB / 0.961 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.8515, allocations: 170.9 kB / 0.9612 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.496, allocations: 0 / 0.9612 GB, free: 1.461 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat does not exist to compare? outputFormat=mat