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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 148 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.001292/0.001292, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 0.6647 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 67.91 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6557, allocations: 140.4 MB / 0.9497 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001852/0.6576, allocations: 0.6886 MB / 0.9504 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008454/0.6585, allocations: 0.8496 MB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.6585, allocations: 0.9375 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.6586, allocations: 7.938 kB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.833e-05/0.6587, allocations: 9.094 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.6588, allocations: 23.78 kB / 0.9513 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.714e-05/0.6589, allocations: 62.56 kB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.659, allocations: 15.84 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.6591, allocations: 21.7 kB / 0.9514 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.6592, allocations: 38.2 kB / 0.9514 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.6593, allocations: 5.562 kB / 0.9514 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.6593, allocations: 5.594 kB / 0.9514 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.6593, allocations: 10.75 kB / 0.9514 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.6594, allocations: 28.98 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.744e-05/0.6595, allocations: 66.7 kB / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6595, allocations: 1.281 kB / 0.9515 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.562e-06/0.6595, allocations: 3.938 kB / 0.9515 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.6595, allocations: 0 / 0.9515 GB, free: 7.82 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.00041/0.6599, allocations: 373.9 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.66, allocations: 8.469 kB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.66, allocations: 31.81 kB / 0.9519 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.66, allocations: 9 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.6602, allocations: 187.3 kB / 0.9521 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.6602, allocations: 1.656 kB / 0.9521 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.6603, allocations: 8.406 kB / 0.9521 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.6604, allocations: 55.48 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6604, allocations: 11.92 kB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.6604, allocations: 0 / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6604, allocations: 1.656 kB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.572e-05/0.6605, allocations: 31.77 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.6609, allocations: 302.5 kB / 0.9525 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.6612, allocations: 73.62 kB / 0.9526 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.6613, allocations: 20.97 kB / 0.9526 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.6613, allocations: 0 / 0.9526 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.6613, allocations: 35.75 kB / 0.9526 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.6613, allocations: 4 kB / 0.9526 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002455/0.6616, allocations: 67.39 kB / 0.9527 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.6616, allocations: 55.39 kB / 0.9527 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.6617, allocations: 121.4 kB / 0.9528 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.6617, allocations: 26.89 kB / 0.9529 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.6617, allocations: 99.22 kB / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.6618, allocations: 8.812 kB / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.6618, allocations: 18.12 kB / 0.953 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.6619, allocations: 328.1 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.6619, allocations: 16.41 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.662, allocations: 27.45 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.007e-05/0.6621, allocations: 26.81 kB / 0.9534 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6621, allocations: 0 / 0.9534 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001333/0.6622, allocations: 67.48 kB / 0.9534 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6622, allocations: 9.719 kB / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6622, allocations: 0 / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6623, allocations: 0 / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.6623, allocations: 8.906 kB / 0.9535 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.6623, allocations: 3.984 kB / 0.9535 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.6624, allocations: 9.594 kB / 0.9535 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.6624, allocations: 1.344 kB / 0.9535 GB, free: 5.836 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 (shaH.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.6625, allocations: 117.9 kB / 0.9536 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.6625, allocations: 9.266 kB / 0.9536 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.6625, allocations: 6.312 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6625, allocations: 4 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.6626, allocations: 1.375 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6626, allocations: 0 / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.6627, allocations: 184.4 kB / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6627, allocations: 336 / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.6628, allocations: 4.031 kB / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.6628, allocations: 0 / 0.9538 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.6628, allocations: 5.469 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6628, allocations: 0 / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.6628, allocations: 4 kB / 0.9538 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.6629, allocations: 163.9 kB / 0.9539 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.663, allocations: 85.88 kB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.663, allocations: 1.062 kB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.6631, allocations: 3.562 kB / 0.954 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.6631, allocations: 11.86 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.6631, allocations: 5.438 kB / 0.954 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.6632, allocations: 93.27 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6632, allocations: 0 / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002492/0.6634, allocations: 10.78 kB / 0.9541 GB, free: 5.113 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 (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.0003218/0.6638, allocations: 0.6978 MB / 0.9548 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.6639, allocations: 35.97 kB / 0.9549 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.664, allocations: 0 / 0.9549 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.664, allocations: 18.48 kB / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.6643, allocations: 6.188 kB / 0.9549 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6653, allocations: 1.337 MB / 0.9562 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.973e-05/0.6654, allocations: 0.6861 MB / 0.9569 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.6655, allocations: 6.703 kB / 0.9569 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.6655, allocations: 14.41 kB / 0.9569 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6655, allocations: 0 / 0.9569 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.6908, allocations: 1.726 MB / 0.9586 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.804, allocations: 3.156 kB / 0.9586 GB, free: 1.457 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches