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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001655/0.001655, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001954/0.001954, allocations: 195.1 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.645/0.647, allocations: 140.4 MB / 0.949 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001747/0.6488, allocations: 0.7601 MB / 0.9498 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006713/0.6495, allocations: 0.8465 MB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.6495, allocations: 1.188 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.6496, allocations: 0 / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.69e-05/0.6497, allocations: 9.125 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.6498, allocations: 23.44 kB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.941e-05/0.6499, allocations: 53.7 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.65, allocations: 20.52 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.6501, allocations: 21.48 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.6502, allocations: 26.66 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.6502, allocations: 6.625 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.6502, allocations: 2.5 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.6502, allocations: 10.55 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.6503, allocations: 21.95 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.316e-05/0.6504, allocations: 70.02 kB / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6504, allocations: 0 / 0.9509 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6504, allocations: 5.156 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.6504, allocations: 0 / 0.9509 GB, free: 7.691 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.0004089/0.6508, allocations: 365.1 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6509, allocations: 13.81 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.6509, allocations: 36.08 kB / 0.9513 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.6509, allocations: 7.531 kB / 0.9513 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.6511, allocations: 190.8 kB / 0.9515 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.6512, allocations: 6.781 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.6512, allocations: 7 kB / 0.9515 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.6513, allocations: 56.05 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.6513, allocations: 3.938 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.6513, allocations: 5.344 kB / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6513, allocations: 0 / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.501e-05/0.6514, allocations: 36.09 kB / 0.9516 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.6518, allocations: 302.2 kB / 0.9519 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.652, allocations: 74.41 kB / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/0.6521, allocations: 24.19 kB / 0.9519 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.6521, allocations: 1.406 kB / 0.9519 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.6521, allocations: 31.88 kB / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6521, allocations: 0 / 0.952 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002182/0.6524, allocations: 69.83 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.6524, allocations: 56.38 kB / 0.9521 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.6525, allocations: 122.5 kB / 0.9522 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.6525, allocations: 29.7 kB / 0.9522 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.6525, allocations: 96.02 kB / 0.9523 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.6525, allocations: 7.844 kB / 0.9523 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.6526, allocations: 22.05 kB / 0.9524 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.6526, allocations: 320.2 kB / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.6527, allocations: 20.52 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.626e-05/0.6527, allocations: 26.89 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.535e-05/0.6528, allocations: 26.25 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6528, allocations: 1.438 kB / 0.9527 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000121/0.6529, allocations: 70.67 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.653, allocations: 5.656 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.653, allocations: 32 / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.653, allocations: 5.656 kB / 0.9528 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.63e-05/0.653, allocations: 8.109 kB / 0.9528 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6531, allocations: 0 / 0.9528 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.6531, allocations: 10.02 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.6531, allocations: 1.219 kB / 0.9528 GB, free: 5.699 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 (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 5.247e-05/0.6532, allocations: 116.7 kB / 0.9529 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.6532, allocations: 6.266 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.6532, allocations: 10.16 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6532, allocations: 3.984 kB / 0.953 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6533, allocations: 1.531 kB / 0.953 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6533, allocations: 0 / 0.953 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.6534, allocations: 179.9 kB / 0.9531 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6534, allocations: 0 / 0.9531 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.6534, allocations: 12.3 kB / 0.9532 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.6534, allocations: 0 / 0.9532 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.6535, allocations: 1.406 kB / 0.9532 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6535, allocations: 0 / 0.9532 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6535, allocations: 0 / 0.9532 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.6536, allocations: 163.1 kB / 0.9533 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.6536, allocations: 82.27 kB / 0.9534 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.6537, allocations: 5.219 kB / 0.9534 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.6537, allocations: 12.36 kB / 0.9534 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.6538, allocations: 7.016 kB / 0.9534 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.6538, allocations: 1.406 kB / 0.9534 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.6538, allocations: 97.02 kB / 0.9535 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6538, allocations: 0 / 0.9535 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002154/0.654, allocations: 11.66 kB / 0.9535 GB, free: 4.977 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 (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.0002869/0.6543, allocations: 0.7013 MB / 0.9542 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.6545, allocations: 38.69 kB / 0.9542 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6545, allocations: 0 / 0.9542 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.004e-05/0.6546, allocations: 14.25 kB / 0.9543 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.6548, allocations: 8.953 kB / 0.9543 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009715/0.6558, allocations: 1.337 MB / 0.9556 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.6559, allocations: 0.6905 MB / 0.9562 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.656, allocations: 3.359 kB / 0.9562 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.656, allocations: 18.52 kB / 0.9563 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.656, allocations: 0 / 0.9563 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.6668, allocations: 1.519 MB / 0.9577 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/0.6669, allocations: 194.7 kB / 0.9579 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.293, allocations: 0 / 0.9579 GB, free: 1.23 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches