Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.0009716/0.0009716, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.0009947/0.0009947, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9629/0.9629, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.749/1.749, allocations: 359 MB / 0.6063 GB, free: 10.87 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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.214e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002082/0.002104, allocations: 1.543 MB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.003137, allocations: 0.7809 MB / 0.7905 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.0032, allocations: 3.938 kB / 0.7906 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.003227, allocations: 4.5 kB / 0.7906 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.003357, allocations: 16.55 kB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.003927, allocations: 148.3 kB / 0.7907 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.465e-05/0.004022, allocations: 68.38 kB / 0.7908 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.004092, allocations: 8.188 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.004207, allocations: 49.59 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.747e-05/0.004254, allocations: 31.89 kB / 0.7909 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.004268, allocations: 4 kB / 0.7909 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.004491, allocations: 135.7 kB / 0.791 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.004512, allocations: 21.52 kB / 0.791 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.004543, allocations: 15.98 kB / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.004733, allocations: 151.5 kB / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004735, allocations: 0 / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004736, allocations: 3.531 kB / 0.7912 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.004741, allocations: 0 / 0.7912 GB, free: 9.27 MB / 0.7448 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.0004215/0.005163, allocations: 475.5 kB / 0.7916 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.005195, allocations: 12.03 kB / 0.7916 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.00535, allocations: 24.88 kB / 0.7917 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.005483, allocations: 131.8 kB / 0.7918 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.005501, allocations: 4.312 kB / 0.7918 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.005514, allocations: 12.36 kB / 0.7918 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.005625, allocations: 75.61 kB / 0.7919 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.005632, allocations: 0.75 kB / 0.7919 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.00564, allocations: 4.125 kB / 0.7919 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.005646, allocations: 1.125 kB / 0.7919 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.00567, allocations: 11.98 kB / 0.7919 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.00593, allocations: 261 kB / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.851e-05/0.005989, allocations: 44.23 kB / 0.7922 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.006011, allocations: 19.8 kB / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.006025, allocations: 4 kB / 0.7922 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.469e-05/0.006099, allocations: 66.06 kB / 0.7923 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.0061, allocations: 0 / 0.7923 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001851/0.006285, allocations: 97.78 kB / 0.7924 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.006321, allocations: 60.34 kB / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.006406, allocations: 177.9 kB / 0.7926 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.00642, allocations: 26.61 kB / 0.7926 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.00647, allocations: 146.8 kB / 0.7928 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.006486, allocations: 16.92 kB / 0.7928 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.006523, allocations: 31.36 kB / 0.7928 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.006629, allocations: 0.4923 MB / 0.7933 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.006646, allocations: 9.328 kB / 0.7933 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.006686, allocations: 65.98 kB / 0.7934 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.006756, allocations: 87.17 kB / 0.7934 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006758, allocations: 0.5625 kB / 0.7934 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001039/0.006862, allocations: 95.38 kB / 0.7935 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.006876, allocations: 5.875 kB / 0.7935 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.006883, allocations: 4.078 kB / 0.7935 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.006892, allocations: 4.844 kB / 0.7935 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.006957, allocations: 15.98 kB / 0.7936 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.006961, allocations: 9.734 kB / 0.7936 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.006995, allocations: 11.89 kB / 0.7936 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.007003, allocations: 4 kB / 0.7936 GB, free: 6.559 MB / 0.7448 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 7.519e-05/0.007078, allocations: 165.1 kB / 0.7937 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.007095, allocations: 15.88 kB / 0.7938 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.007114, allocations: 9.125 kB / 0.7938 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.007117, allocations: 4 kB / 0.7938 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.007119, allocations: 0.7812 kB / 0.7938 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007122, allocations: 0 / 0.7938 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.007508, allocations: 330.9 kB / 0.7941 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.00751, allocations: 0 / 0.7941 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.007533, allocations: 5.188 kB / 0.7941 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007535, allocations: 0 / 0.7941 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.007541, allocations: 0 / 0.7941 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.007543, allocations: 0 / 0.7941 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.007544, allocations: 0.8438 kB / 0.7941 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.007677, allocations: 243.7 kB / 0.7943 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.007686, allocations: 10.17 kB / 0.7943 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.007698, allocations: 4 kB / 0.7943 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.236e-05/0.00774, allocations: 7.984 kB / 0.7943 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.007766, allocations: 4.031 kB / 0.7944 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-06/0.007774, allocations: 11.92 kB / 0.7944 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.007812, allocations: 139.2 kB / 0.7945 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-07/0.007813, allocations: 2.875 kB / 0.7945 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002201/0.008033, allocations: 35.94 kB / 0.7945 GB, free: 5.539 MB / 0.7448 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.000305/0.008338, allocations: 168 kB / 0.7947 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.008454, allocations: 43.59 kB / 0.7947 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008455, allocations: 1.094 kB / 0.7947 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.008492, allocations: 27.61 kB / 0.7948 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.008693, allocations: 25.23 kB / 0.7948 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.009179, allocations: 195.5 kB / 0.795 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.009213, allocations: 59.34 kB / 0.795 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.241e-05/0.009246, allocations: 4 kB / 0.795 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.009298, allocations: 75.33 kB / 0.7951 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.009299, allocations: 0 / 0.7951 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.003369/0.01267, allocations: 1.703 MB / 0.7968 GB, free: 3.23 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.023875828832388]