Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003293/0.0003293, allocations: 0 / 0, free: 0 / 0 " [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.0003486/0.0003486, allocations: 0 / 0, free: 0 / 0 " [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.3037/0.3037, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 0.6361/0.6361, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: simulate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 5.11e-07/5.11e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.488e-05/1.539e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00349/0.003506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002399/0.005904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.005962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 6.769e-05/0.006029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 9.733e-05/0.006127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0007469/0.006874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0001347/0.007008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.007064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.007245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.007313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.007344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.007844, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.007898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.00796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.008399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.482e-05/0.008414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 9.62e-07/0.008415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.534e-06/0.008422, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009913/0.009414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.188e-05/0.009485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.009915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.01018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.01022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.01026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.01065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.01066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.01069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.01069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.01084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.01152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.01167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.0118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.01185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/0.01218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=40): time 3.516e-06/0.01218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=40): time 0.001401/0.01358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.01365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.01385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.01396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.01403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.01426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.01459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0001785/0.01477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.01511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/0.01568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0009269/0.0166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.01661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=77) (initialization): time 0.001387/0.018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.01802, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.01803, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.01805, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.01849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.0185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.0187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.01876, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 75 (bli.state[33],$PRE.bli.state[33],bli.state[32],$PRE.bli.state[32],bli.state[31],$PRE.bli.state[31],bli.state[30],$PRE.bli.state[30],bli.state[29],$PRE.bli.state[29],bli.state[28],$PRE.bli.state[28],bli.state[27],$PRE.bli.state[27],bli.state[26],$PRE.bli.state[26],bli.state[25],$PRE.bli.state[25],bli.state[24],$PRE.bli.state[24],bli.state[23],$PRE.bli.state[23],bli.state[22],$PRE.bli.state[22],bli.state[21],$PRE.bli.state[21],bli.state[20],$PRE.bli.state[20],bli.state[19],$PRE.bli.state[19],bli.state[18],$PRE.bli.state[18],bli.state[17],$PRE.bli.state[17],bli.state[16],$PRE.bli.state[16],bli.state[15],$PRE.bli.state[15],bli.state[14],$PRE.bli.state[14],bli.state[13],$PRE.bli.state[13],bli.state[12],$PRE.bli.state[12],bli.state[11],$PRE.bli.state[11],bli.state[10],$PRE.bli.state[10],bli.state[9],$PRE.bli.state[9],bli.state[8],$PRE.bli.state[8],bli.state[7],$PRE.bli.state[7],bli.state[6],$PRE.bli.state[6],bli.state[5],$PRE.bli.state[5],bli.state[4],$PRE.bli.state[4],bli.state[3],$PRE.bli.state[3],bli.state[2],$PRE.bli.state[2],bli.state[1],$PRE.bli.state[1],bli.ran,$PRE.bli.ran,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 (45): * Single equations (assignments): 44 * Array equations: 1 * 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.0003109/0.01907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/0.01915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.01919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.0192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.0192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.01921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.02068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.02069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.58e-05/0.02073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.02074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.02076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.02077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.02077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.02196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 9.465e-05/0.02205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.02218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.02236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.02242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.02245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 8.19e-05/0.02253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.214e-06/0.02253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001206/0.02374, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.state[1],bli.state[2],bli.state[3],bli.state[4],bli.state[5],bli.state[6],bli.state[7],bli.state[8],bli.state[9],bli.state[10],bli.state[11],bli.state[12],bli.state[13],bli.state[14],bli.state[15],bli.state[16],bli.state[17],bli.state[18],bli.state[19],bli.state[20],bli.state[21],bli.state[22],bli.state[23],bli.state[24],bli.state[25],bli.state[26],bli.state[27],bli.state[28],bli.state[29],bli.state[30],bli.state[31],bli.state[32],bli.state[33],bli.ran) * Number of discrete states: 34 (bli.pDown,bli.state[1],bli.state[2],bli.state[3],bli.state[4],bli.state[5],bli.state[6],bli.state[7],bli.state[8],bli.state[9],bli.state[10],bli.state[11],bli.state[12],bli.state[13],bli.state[14],bli.state[15],bli.state[16],bli.state[17],bli.state[18],bli.state[19],bli.state[20],bli.state[21],bli.state[22],bli.state[23],bli.state[24],bli.state[25],bli.state[26],bli.state[27],bli.state[28],bli.state[29],bli.state[30],bli.state[31],bli.state[32],bli.state[33]) * 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.0004744/0.02421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0008106/0.02502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.02503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.02524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.02646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.02761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.02773, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 8.773e-05/0.02782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.02793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.674e-05/0.02795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001134/0.02909, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 2.350759898778051]