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.001274/0.001274, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.001442/0.001442, allocations: 169 kB / 23.82 MB, free: 0.7539 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.9347/0.9347, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.737/1.737, allocations: 359 MB / 0.6052 GB, free: 10.95 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.743e-06/1.743e-06, allocations: 0 / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.77e-05, allocations: 2.906 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001817/0.001835, allocations: 1.54 MB / 0.7886 GB, free: 9.832 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.003048, allocations: 0.7818 MB / 0.7893 GB, free: 9.047 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.0031, allocations: 0 / 0.7893 GB, free: 9.047 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.003134, allocations: 11.86 kB / 0.7893 GB, free: 9.035 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/0.003185, allocations: 4.688 kB / 0.7893 GB, free: 9.031 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.003734, allocations: 152.2 kB / 0.7895 GB, free: 8.883 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.003841, allocations: 75.7 kB / 0.7896 GB, free: 8.809 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.003924, allocations: 18.53 kB / 0.7896 GB, free: 8.793 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.004049, allocations: 47.89 kB / 0.7896 GB, free: 8.746 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.411e-05/0.004093, allocations: 23.95 kB / 0.7897 GB, free: 8.723 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.004111, allocations: 8 kB / 0.7897 GB, free: 8.715 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.004314, allocations: 135.7 kB / 0.7898 GB, free: 8.582 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.004334, allocations: 19.92 kB / 0.7898 GB, free: 8.562 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.004369, allocations: 25.75 kB / 0.7898 GB, free: 8.539 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.004576, allocations: 143.5 kB / 0.79 GB, free: 8.398 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004578, allocations: 0 / 0.79 GB, free: 8.398 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004579, allocations: 0 / 0.79 GB, free: 8.398 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.004582, allocations: 0 / 0.79 GB, free: 8.398 MB / 0.698 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.0004588/0.005041, allocations: 479.7 kB / 0.7904 GB, free: 7.883 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.005074, allocations: 9.688 kB / 0.7904 GB, free: 7.875 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.005233, allocations: 24.88 kB / 0.7905 GB, free: 7.852 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.005374, allocations: 135.7 kB / 0.7906 GB, free: 7.695 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.005398, allocations: 4.938 kB / 0.7906 GB, free: 7.691 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.00541, allocations: 8.875 kB / 0.7906 GB, free: 7.684 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.005541, allocations: 79.72 kB / 0.7907 GB, free: 7.598 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.005549, allocations: 192 / 0.7907 GB, free: 7.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.005561, allocations: 4.125 kB / 0.7907 GB, free: 7.594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005569, allocations: 1.156 kB / 0.7907 GB, free: 7.594 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.005605, allocations: 11.98 kB / 0.7907 GB, free: 7.582 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.005926, allocations: 285.1 kB / 0.791 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.075e-05/0.005997, allocations: 46.98 kB / 0.791 GB, free: 7.211 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.891e-05/0.006026, allocations: 15.67 kB / 0.791 GB, free: 7.191 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.006043, allocations: 9.688 kB / 0.791 GB, free: 7.184 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.867e-05/0.006122, allocations: 69.23 kB / 0.7911 GB, free: 7.102 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.006123, allocations: 0 / 0.7911 GB, free: 7.102 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002294/0.006352, allocations: 105.5 kB / 0.7912 GB, free: 6.992 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.006389, allocations: 60.5 kB / 0.7913 GB, free: 6.922 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.38e-05/0.006473, allocations: 181.9 kB / 0.7914 GB, free: 6.727 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.006484, allocations: 25.7 kB / 0.7915 GB, free: 6.695 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.006529, allocations: 135.4 kB / 0.7916 GB, free: 6.559 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.006547, allocations: 24.27 kB / 0.7916 GB, free: 6.535 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.00658, allocations: 31.38 kB / 0.7916 GB, free: 6.496 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.006681, allocations: 0.4942 MB / 0.7921 GB, free: 5.992 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/0.006705, allocations: 11.98 kB / 0.7921 GB, free: 5.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.006749, allocations: 66.06 kB / 0.7922 GB, free: 5.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.007e-05/0.006819, allocations: 88.58 kB / 0.7923 GB, free: 5.781 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006822, allocations: 0 / 0.7923 GB, free: 5.781 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001024/0.006924, allocations: 102.2 kB / 0.7924 GB, free: 5.676 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.006935, allocations: 4 kB / 0.7924 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.00694, allocations: 0.5312 kB / 0.7924 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.006952, allocations: 4.844 kB / 0.7924 GB, free: 5.668 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.007016, allocations: 15.98 kB / 0.7924 GB, free: 5.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.007022, allocations: 4 kB / 0.7924 GB, free: 5.648 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.007052, allocations: 8.797 kB / 0.7924 GB, free: 5.641 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.007069, allocations: 4 kB / 0.7924 GB, free: 5.637 MB / 0.698 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.928e-05/0.007139, allocations: 169.8 kB / 0.7926 GB, free: 5.461 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.007153, allocations: 15.89 kB / 0.7926 GB, free: 5.445 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.007173, allocations: 5.281 kB / 0.7926 GB, free: 5.441 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.007174, allocations: 4 kB / 0.7926 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.007178, allocations: 1.156 kB / 0.7926 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007181, allocations: 0 / 0.7926 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.00743, allocations: 357.2 kB / 0.7929 GB, free: 5.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.007432, allocations: 1.375 kB / 0.7929 GB, free: 5.047 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.007453, allocations: 7.984 kB / 0.793 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.007455, allocations: 0 / 0.793 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.007462, allocations: 0 / 0.793 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.007463, allocations: 1.5 kB / 0.793 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.007464, allocations: 0 / 0.793 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.007601, allocations: 247.7 kB / 0.7932 GB, free: 4.777 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.007608, allocations: 3.953 kB / 0.7932 GB, free: 4.773 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.007621, allocations: 6.844 kB / 0.7932 GB, free: 4.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.273e-05/0.007663, allocations: 4 kB / 0.7932 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.007698, allocations: 11.92 kB / 0.7932 GB, free: 4.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/0.007704, allocations: 0 / 0.7932 GB, free: 4.754 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.007746, allocations: 143.2 kB / 0.7934 GB, free: 4.613 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.007746, allocations: 0 / 0.7934 GB, free: 4.613 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002048/0.007951, allocations: 39.92 kB / 0.7934 GB, free: 4.574 MB / 0.698 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.0002578/0.008208, allocations: 180.8 kB / 0.7936 GB, free: 4.414 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.00834, allocations: 61.33 kB / 0.7936 GB, free: 4.352 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.008343, allocations: 4 kB / 0.7936 GB, free: 4.348 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.008382, allocations: 19.69 kB / 0.7936 GB, free: 4.324 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.008572, allocations: 24.02 kB / 0.7937 GB, free: 4.305 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.009099, allocations: 184.5 kB / 0.7938 GB, free: 4.094 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.578e-05/0.009135, allocations: 59.34 kB / 0.7939 GB, free: 4.016 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.009159, allocations: 8.672 kB / 0.7939 GB, free: 4.008 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.009183, allocations: 15.34 kB / 0.7939 GB, free: 3.996 MB / 0.698 GB Notification: Performance of SimCode: time 5.62e-07/0.009183, allocations: 0 / 0.7939 GB, free: 3.996 MB / 0.698 GB Notification: Performance of Templates: time 0.003508/0.01269, allocations: 1.644 MB / 0.7955 GB, free: 2.371 MB / 0.698 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: 4.7593810451217]