Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008343/0.0008343, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008577/0.0008577, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8819/0.8819, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.34e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001476/0.0015, allocations: 0.6923 MB / 0.9511 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009385/0.002438, allocations: 0.8743 MB / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.002479, allocations: 0 / 0.952 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.00251, allocations: 11.92 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.002596, allocations: 11.86 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.00281, allocations: 19.92 kB / 0.952 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.517e-05/0.002895, allocations: 63.78 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.003012, allocations: 23.91 kB / 0.9521 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.003154, allocations: 31.98 kB / 0.9521 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.003228, allocations: 27.91 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.00325, allocations: 4 kB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.333e-05/0.003303, allocations: 15.92 kB / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.003319, allocations: 7.938 kB / 0.9522 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.003348, allocations: 19.98 kB / 0.9522 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.003502, allocations: 67.77 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.003508, allocations: 4 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.463e-06/0.003509, allocations: 3.938 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.003515, allocations: 7.984 kB / 0.9523 GB, free: 1.605 MB / 0.9011 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.000463/0.003978, allocations: 294.1 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.004032, allocations: 12.03 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.004075, allocations: 30.75 kB / 0.9526 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.004212, allocations: 16.88 kB / 0.9526 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.00444, allocations: 133.7 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.004459, allocations: 8.312 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.00447, allocations: 4.375 kB / 0.9528 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.004605, allocations: 66.22 kB / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.004614, allocations: 192 / 0.9528 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.004627, allocations: 4.312 kB / 0.9528 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.004633, allocations: 4.125 kB / 0.9528 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.593e-05/0.004719, allocations: 31.92 kB / 0.9529 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.005123, allocations: 252 kB / 0.9531 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.005346, allocations: 78.45 kB / 0.9532 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.005381, allocations: 20.86 kB / 0.9532 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.005399, allocations: 0 / 0.9532 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.005418, allocations: 30.56 kB / 0.9532 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.005419, allocations: 4 kB / 0.9532 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002179/0.005637, allocations: 73.7 kB / 0.9533 GB, free: 432 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.005666, allocations: 51.41 kB / 0.9534 GB, free: 368 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.005737, allocations: 121.8 kB / 0.9535 GB, free: 236 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.005752, allocations: 29.7 kB / 0.9535 GB, free: 200 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.005805, allocations: 100.1 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.005818, allocations: 3.953 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.005847, allocations: 17.72 kB / 0.9536 GB, free: 68 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.005945, allocations: 322.8 kB / 0.9539 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.126e-05/0.005976, allocations: 15.94 kB / 0.9539 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.00603, allocations: 55.41 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.168e-05/0.006081, allocations: 28.84 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006084, allocations: 0 / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.81e-05/0.006172, allocations: 69.56 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.006186, allocations: 12.03 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.00619, allocations: 0 / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.006202, allocations: 0 / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.49e-05/0.006237, allocations: 11.92 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.006241, allocations: 0 / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/0.00627, allocations: 8 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.006275, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 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 6.726e-05/0.006342, allocations: 118.2 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.006356, allocations: 7.938 kB / 0.9542 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.006383, allocations: 15.98 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006385, allocations: 3.938 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.006389, allocations: 0 / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.006391, allocations: 0 / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.00651, allocations: 148.6 kB / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.006511, allocations: 0 / 0.9544 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.006527, allocations: 4 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.006528, allocations: 3.938 kB / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.006536, allocations: 0 / 0.9544 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.006538, allocations: 4 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.00654, allocations: 3.984 kB / 0.9544 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.006648, allocations: 160 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.006658, allocations: 7.938 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.006673, allocations: 4 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.554e-05/0.006708, allocations: 0 / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.006745, allocations: 11.98 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.00675, allocations: 11.98 kB / 0.9546 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.924e-05/0.00679, allocations: 87.28 kB / 0.9547 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.00679, allocations: 0 / 0.9547 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001526/0.006942, allocations: 11.94 kB / 0.9547 GB, free: 14.86 MB / 0.9167 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.0002886/0.007231, allocations: 0.6929 MB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.007338, allocations: 35.92 kB / 0.9554 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.00734, allocations: 0 / 0.9554 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.007369, allocations: 15.98 kB / 0.9554 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.007577, allocations: 8 kB / 0.9554 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000922/0.008499, allocations: 1.335 MB / 0.9567 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.236e-05/0.008551, allocations: 67.34 kB / 0.9568 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.008589, allocations: 11.88 kB / 0.9568 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.008638, allocations: 20.92 kB / 0.9568 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.008638, allocations: 0 / 0.9568 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.025, allocations: 2.454 MB / 0.9592 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/6.691, allocations: 8.469 kB / 0.9592 GB, free: 10.23 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.640212850645185]