Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.001826/0.001826, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002147/0.002147, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.52/1.52, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.984/2.984, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 65.81 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3446, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.004014/0.3486, allocations: 1.525 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3508, allocations: 0.8119 MB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.3508, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.3509, allocations: 7.938 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.88e-05/0.351, allocations: 15.81 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.3517, allocations: 139.5 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3519, allocations: 79.7 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.352, allocations: 8.188 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3522, allocations: 39.89 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.711e-05/0.3522, allocations: 31.84 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.3523, allocations: 8 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003985/0.3527, allocations: 143.8 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.3527, allocations: 19.97 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.759e-05/0.3528, allocations: 35.8 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.3531, allocations: 139.1 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3531, allocations: 4 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3531, allocations: 0 / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3531, allocations: 0 / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000818/0.3539, allocations: 381.2 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.354, allocations: 8.031 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.354, allocations: 38.69 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003462/0.3544, allocations: 20.92 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.3547, allocations: 135.2 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.3548, allocations: 4.375 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3548, allocations: 4.375 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.355, allocations: 73.58 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3551, allocations: 7.922 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.3551, allocations: 8 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3551, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.3553, allocations: 43.91 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.3559, allocations: 259.9 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3561, allocations: 46.55 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3562, allocations: 32.97 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3562, allocations: 0 / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.3565, allocations: 79.31 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.3565, allocations: 0 / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005238/0.357, allocations: 141.9 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.357, allocations: 59.39 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3572, allocations: 122.8 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.3572, allocations: 25.7 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.3573, allocations: 100.1 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.3573, allocations: 11.84 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.3574, allocations: 29.7 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3575, allocations: 322.8 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.516e-05/0.3576, allocations: 19.98 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3578, allocations: 73 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.358, allocations: 89.08 kB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.358, allocations: 3.984 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003381/0.3584, allocations: 113.5 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3584, allocations: 8 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3584, allocations: 0 / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3584, allocations: 0 / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.3585, allocations: 20.09 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3585, allocations: 0 / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.255e-05/0.3586, allocations: 15.98 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3586, allocations: 7.875 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001284/0.3587, allocations: 120.2 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.3588, allocations: 7.953 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.3588, allocations: 12.36 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3588, allocations: 0 / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3588, allocations: 4 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3588, allocations: 4 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006464/0.3595, allocations: 353.4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3595, allocations: 0 / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.3595, allocations: 0 / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3595, allocations: 4 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.3595, allocations: 3.984 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.3595, allocations: 3.938 kB / 1.289 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3595, allocations: 4 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.36, allocations: 207.4 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.36, allocations: 7.953 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.36, allocations: 7.984 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3602, allocations: 7.938 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.3602, allocations: 11.98 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3602, allocations: 48 / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.64e-05/0.3603, allocations: 102.1 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3603, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005156/0.3608, allocations: 35.94 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001115/0.3619, allocations: 0.8078 MB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.3622, allocations: 67.89 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3622, allocations: 3.938 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.3624, allocations: 31.98 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3628, allocations: 30.12 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.3656, allocations: 1.509 MB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.3661, allocations: 0.6846 MB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.496e-05/0.3662, allocations: 7.984 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.3662, allocations: 27.38 kB / 1.292 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3662, allocations: 0 / 1.292 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/0.404, allocations: 2.814 MB / 1.295 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.62, allocations: 16.06 kB / 1.295 GB, free: 15.28 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 18.510836886940524]