Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 102.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002301/0.002301, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 443.5 MB / 0.7287 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 67.89 kB / 1.056 GB, free: 2.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3455, allocations: 160.7 MB / 1.213 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002094/0.3476, allocations: 0.7061 MB / 1.214 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3487, allocations: 0.8546 MB / 1.214 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.3488, allocations: 4 kB / 1.214 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.3488, allocations: 3.938 kB / 1.214 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.999e-05/0.3489, allocations: 7.938 kB / 1.214 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.3491, allocations: 27.91 kB / 1.214 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3492, allocations: 59.77 kB / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3493, allocations: 16 kB / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3494, allocations: 23.92 kB / 1.215 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.3495, allocations: 27.8 kB / 1.215 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3495, allocations: 4 kB / 1.215 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.472e-05/0.3496, allocations: 8 kB / 1.215 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.3496, allocations: 19.97 kB / 1.215 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.3496, allocations: 23.86 kB / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.3498, allocations: 68 kB / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3498, allocations: 0 / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3498, allocations: 0 / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.3498, allocations: 0 / 1.215 GB, free: 15.57 MB / 0.9669 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.0005867/0.3504, allocations: 371.2 kB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3504, allocations: 8.031 kB / 1.215 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.3505, allocations: 38.73 kB / 1.215 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.3505, allocations: 8.891 kB / 1.215 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.3508, allocations: 196.2 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.3508, allocations: 8.312 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.3508, allocations: 4.375 kB / 1.215 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.351, allocations: 58.17 kB / 1.215 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.351, allocations: 7.938 kB / 1.215 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.351, allocations: 0 / 1.215 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.351, allocations: 0 / 1.215 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.3511, allocations: 31.98 kB / 1.215 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.3516, allocations: 296.8 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.3519, allocations: 70.47 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.352, allocations: 25 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.352, allocations: 0 / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.352, allocations: 30.56 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.352, allocations: 0 / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002675/0.3523, allocations: 73.56 kB / 1.216 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3523, allocations: 51.41 kB / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3525, allocations: 125.8 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.3525, allocations: 33.7 kB / 1.216 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.3526, allocations: 88.09 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.3526, allocations: 16 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.3526, allocations: 17.72 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3528, allocations: 318.8 kB / 1.216 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.3528, allocations: 15.98 kB / 1.216 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.3529, allocations: 33.7 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.353, allocations: 28.84 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.353, allocations: 0 / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001472/0.3531, allocations: 73.56 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3532, allocations: 4 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3532, allocations: 4 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3532, allocations: 0 / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.3532, allocations: 4 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3532, allocations: 32 / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.3533, allocations: 20.25 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3533, allocations: 0 / 1.217 GB, free: 13.31 MB / 0.9669 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 0.0001033/0.3534, allocations: 117.8 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.3534, allocations: 11.92 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.3535, allocations: 11.89 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3535, allocations: 0 / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3535, allocations: 0 / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3535, allocations: 0 / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.3537, allocations: 181.5 kB / 1.217 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3537, allocations: 0 / 1.217 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.3537, allocations: 11.92 kB / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3537, allocations: 0 / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3537, allocations: 0 / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3537, allocations: 0 / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3537, allocations: 4 kB / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.3539, allocations: 155.5 kB / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.354, allocations: 85.06 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.354, allocations: 0 / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.3541, allocations: 11.98 kB / 1.217 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.3541, allocations: 11.92 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.3541, allocations: 0 / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.3542, allocations: 95.27 kB / 1.217 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3542, allocations: 0 / 1.217 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003379/0.3546, allocations: 12 kB / 1.217 GB, free: 12.51 MB / 0.9669 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.0006041/0.3552, allocations: 0.6928 MB / 1.218 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001774/0.3553, allocations: 31.97 kB / 1.218 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3553, allocations: 0 / 1.218 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/0.3554, allocations: 19.94 kB / 1.218 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.3557, allocations: 11.98 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3572, allocations: 1.335 MB / 1.219 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.3576, allocations: 0.6846 MB / 1.22 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.617e-05/0.3576, allocations: 8.406 kB / 1.22 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.3577, allocations: 23.38 kB / 1.22 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of SimCode: time 5.41e-07/0.3577, allocations: 0 / 1.22 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.3845, allocations: 1.755 MB / 1.222 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.66, allocations: 20.06 kB / 1.222 GB, free: 7.895 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.76141194673255]