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.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.001324/0.001324, allocations: 105.8 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.002036/0.002036, allocations: 187.7 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.513/1.513, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.849/2.849, allocations: 476.7 MB / 0.7611 GB, free: 15.79 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.91 kB / 1.104 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9585/0.9604, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002448/0.9629, allocations: 1.503 MB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.964, allocations: 0.731 MB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.9641, allocations: 0.5625 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.9641, allocations: 12.47 kB / 1.271 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.326e-05/0.9642, allocations: 14.3 kB / 1.271 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.9647, allocations: 114.8 kB / 1.271 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.9648, allocations: 70.28 kB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.104e-05/0.9649, allocations: 9.766 kB / 1.271 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.263e-05/0.9649, allocations: 41.77 kB / 1.271 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.965, allocations: 38.05 kB / 1.271 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.965, allocations: 5.625 kB / 1.271 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.9652, allocations: 96.7 kB / 1.271 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.9653, allocations: 22.06 kB / 1.271 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.9653, allocations: 31.66 kB / 1.271 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.9655, allocations: 140.8 kB / 1.271 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.9656, allocations: 2.031 kB / 1.271 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9656, allocations: 0 / 1.271 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.9656, allocations: 0 / 1.271 GB, free: 5.934 MB / 0.9981 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.0005029/0.9661, allocations: 446 kB / 1.272 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.9661, allocations: 10.31 kB / 1.272 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.9661, allocations: 37.16 kB / 1.272 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.9662, allocations: 8.453 kB / 1.272 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.019e-05/0.9662, allocations: 173.5 kB / 1.272 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.9663, allocations: 7.781 kB / 1.272 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.9663, allocations: 8.75 kB / 1.272 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.9665, allocations: 68.67 kB / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.9665, allocations: 0.8125 kB / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.9665, allocations: 4 kB / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.9665, allocations: 1.344 kB / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.9666, allocations: 36 kB / 1.272 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.9671, allocations: 294.9 kB / 1.273 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.9672, allocations: 56.55 kB / 1.273 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.9673, allocations: 33.81 kB / 1.273 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.9673, allocations: 1.75 kB / 1.273 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.9675, allocations: 77.41 kB / 1.273 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.9675, allocations: 0 / 1.273 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004141/0.9679, allocations: 136.8 kB / 1.273 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.9679, allocations: 62.69 kB / 1.273 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.968, allocations: 122.8 kB / 1.273 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.968, allocations: 30.7 kB / 1.273 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.968, allocations: 88.47 kB / 1.273 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.9681, allocations: 15.58 kB / 1.273 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/0.9681, allocations: 24.73 kB / 1.273 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.9682, allocations: 323.9 kB / 1.273 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/0.9682, allocations: 28.8 kB / 1.273 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.91e-05/0.9683, allocations: 62.75 kB / 1.274 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.9685, allocations: 96.22 kB / 1.274 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.9685, allocations: 0 / 1.274 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000219/0.9687, allocations: 112.6 kB / 1.274 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.9687, allocations: 6.125 kB / 1.274 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9687, allocations: 1.625 kB / 1.274 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.9687, allocations: 6.484 kB / 1.274 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.9688, allocations: 12.94 kB / 1.274 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.9688, allocations: 2.219 kB / 1.274 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.9689, allocations: 13.41 kB / 1.274 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.9689, allocations: 4.156 kB / 1.274 GB, free: 3.828 MB / 0.9981 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 6.398e-05/0.969, allocations: 126 kB / 1.274 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.969, allocations: 11.02 kB / 1.274 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.969, allocations: 11.95 kB / 1.274 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.969, allocations: 4.969 kB / 1.274 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.969, allocations: 0 / 1.274 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.969, allocations: 0.5156 kB / 1.274 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.9694, allocations: 382.9 kB / 1.274 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9694, allocations: 5 kB / 1.274 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.9695, allocations: 5.172 kB / 1.274 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.9695, allocations: 0.7812 kB / 1.274 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.9695, allocations: 7.375 kB / 1.274 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.9695, allocations: 7.938 kB / 1.274 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9695, allocations: 1.125 kB / 1.274 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.9697, allocations: 198.3 kB / 1.274 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.9697, allocations: 88 kB / 1.275 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.9698, allocations: 0 / 1.275 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.9699, allocations: 8.875 kB / 1.275 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.9699, allocations: 9.859 kB / 1.275 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.9699, allocations: 6.062 kB / 1.275 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.9699, allocations: 93.33 kB / 1.275 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9699, allocations: 0 / 1.275 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003259/0.9703, allocations: 38.38 kB / 1.275 GB, free: 2.973 MB / 0.9981 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.0006446/0.9709, allocations: 0.8053 MB / 1.276 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.9712, allocations: 73.3 kB / 1.276 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9712, allocations: 0 / 1.276 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.9712, allocations: 35.62 kB / 1.276 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.9715, allocations: 19.06 kB / 1.276 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.973, allocations: 1.51 MB / 1.277 GB, free: 16.85 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.9733, allocations: 0.6886 MB / 1.278 GB, free: 16.15 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.9734, allocations: 12.39 kB / 1.278 GB, free: 16.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.9734, allocations: 21.8 kB / 1.278 GB, free: 16.13 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.9734, allocations: 0 / 1.278 GB, free: 16.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02725/1.001, allocations: 2.665 MB / 1.28 GB, free: 15.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/9.113, allocations: 8.938 kB / 1.28 GB, free: 15.61 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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.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: 15.457366104703397]