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.001532/0.001532, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001785/0.001785, allocations: 194.7 kB / 22.17 MB, free: 5.652 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.447/1.447, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.74/2.74, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 67.89 kB / 1.109 GB, free: 6.602 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8249/0.827, allocations: 168.7 MB / 1.274 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002821/0.8298, allocations: 1.503 MB / 1.275 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.8312, allocations: 0.7455 MB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.8312, allocations: 3.938 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.8313, allocations: 3.938 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.8313, allocations: 11.86 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.8319, allocations: 119.6 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.832, allocations: 75.7 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.8321, allocations: 15.94 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.8322, allocations: 27.92 kB / 1.276 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.8323, allocations: 35.84 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.8323, allocations: 4 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.8325, allocations: 103.8 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.8325, allocations: 19.97 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.8326, allocations: 31.8 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.8328, allocations: 142.2 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8328, allocations: 4 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8328, allocations: 0 / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.8328, allocations: 0 / 1.277 GB, free: 1.609 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006714/0.8335, allocations: 442.4 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.8336, allocations: 12.03 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.8336, allocations: 8.891 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.8338, allocations: 172.3 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.8338, allocations: 8.375 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.8338, allocations: 4.375 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.834, allocations: 69.97 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.834, allocations: 7.984 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.834, allocations: 0 / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.834, allocations: 0 / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.8342, allocations: 43.95 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.8347, allocations: 296.7 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.8348, allocations: 50.5 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.8349, allocations: 24.97 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.8349, allocations: 8 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.8351, allocations: 75.31 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.8351, allocations: 0 / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004238/0.8355, allocations: 145.6 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.8356, allocations: 59.41 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.8357, allocations: 125.7 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.8357, allocations: 25.7 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.8358, allocations: 96.06 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.8358, allocations: 15.91 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.8359, allocations: 29.7 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.836, allocations: 318.8 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.8361, allocations: 27.97 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.8362, allocations: 57.14 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.8364, allocations: 97 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8364, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002345/0.8366, allocations: 113.5 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8366, allocations: 8 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.8366, allocations: 4.156 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8367, allocations: 4 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.8367, allocations: 8 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.8368, allocations: 7.984 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.8368, allocations: 11.94 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.8368, allocations: 4 kB / 1.279 GB, free: 15 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.0001026/0.8369, allocations: 127.8 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.837, allocations: 7.953 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.837, allocations: 12.36 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.837, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.837, allocations: 3.938 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.837, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.8375, allocations: 382.4 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.8375, allocations: 0 / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.8375, allocations: 4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.8375, allocations: 4 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.8376, allocations: 7.984 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.8376, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8376, allocations: 3.938 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.8379, allocations: 195.5 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.8379, allocations: 89.05 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.8379, allocations: 4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.838, allocations: 4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.8381, allocations: 11.92 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.8381, allocations: 4.047 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.969e-05/0.8381, allocations: 91.27 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8381, allocations: 3.938 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002991/0.8384, allocations: 39.88 kB / 1.28 GB, free: 13.92 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.0003638/0.8388, allocations: 175.5 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.839, allocations: 67.89 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.839, allocations: 0 / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.8391, allocations: 31.98 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.8394, allocations: 15.91 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004359/0.8398, allocations: 205 kB / 1.28 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.8402, allocations: 0.6885 MB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.8402, allocations: 7.984 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.8402, allocations: 11.44 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.8402, allocations: 0 / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.004555/0.8448, allocations: 1.466 MB / 1.283 GB, free: 11.22 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 400] 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,bli.t0,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 8.597616625018418]