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.00183/0.00183, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002423/0.002423, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.475/1.475, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 2.763/2.763, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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 2.114e-06/2.114e-06, allocations: 0 / 0.7863 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.482e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003463/0.003498, allocations: 1.509 MB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.005233, allocations: 0.7628 MB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.353e-05/0.005307, allocations: 3.938 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.005343, allocations: 4.438 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.005417, allocations: 20.62 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007713/0.006188, allocations: 144.1 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.006344, allocations: 71.72 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.006443, allocations: 12.92 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.00662, allocations: 48.45 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.73e-05/0.006687, allocations: 23.95 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.00671, allocations: 5.25 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.007033, allocations: 147.6 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.007063, allocations: 11.98 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.007118, allocations: 25.38 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.007457, allocations: 163.5 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.007463, allocations: 4 kB / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.12e-07/0.007464, allocations: 0 / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.00747, allocations: 1.219 kB / 0.7892 GB, free: 9.871 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.0007307/0.0082, allocations: 369.3 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.008243, allocations: 8.656 kB / 0.7896 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.008542, allocations: 34.27 kB / 0.7896 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.008831, allocations: 129.6 kB / 0.7897 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.008859, allocations: 4.375 kB / 0.7897 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.008881, allocations: 9.312 kB / 0.7897 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.009116, allocations: 66.2 kB / 0.7898 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.009126, allocations: 1.031 kB / 0.7898 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.009143, allocations: 4.125 kB / 0.7898 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.009151, allocations: 5 kB / 0.7898 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.009303, allocations: 35.97 kB / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.009836, allocations: 233 kB / 0.7901 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.01, allocations: 48.14 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.0101, allocations: 28.97 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.01013, allocations: 9.094 kB / 0.7902 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.01032, allocations: 79.38 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 4.188e-06/0.01033, allocations: 3.984 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004989/0.01082, allocations: 148.6 kB / 0.7904 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.0109, allocations: 63.39 kB / 0.7904 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.01104, allocations: 118.1 kB / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.01107, allocations: 25.7 kB / 0.7906 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.01116, allocations: 96.12 kB / 0.7907 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.01119, allocations: 15.84 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.01125, allocations: 30.42 kB / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.01143, allocations: 314.8 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.01152, allocations: 25.64 kB / 0.791 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01164, allocations: 61.12 kB / 0.7911 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.01185, allocations: 90.92 kB / 0.7912 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01185, allocations: 1.156 kB / 0.7912 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002843/0.01213, allocations: 122.5 kB / 0.7913 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.01215, allocations: 9.859 kB / 0.7913 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.01216, allocations: 5.75 kB / 0.7913 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.01218, allocations: 0 / 0.7913 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.281e-05/0.01228, allocations: 12 kB / 0.7913 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.01228, allocations: 3.938 kB / 0.7913 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.54e-05/0.01236, allocations: 17.12 kB / 0.7913 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.01237, allocations: 4 kB / 0.7913 GB, free: 7.48 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 0.0001187/0.01249, allocations: 118.4 kB / 0.7915 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.01252, allocations: 13.39 kB / 0.7915 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.01255, allocations: 12.42 kB / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01255, allocations: 0 / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.01256, allocations: 4 kB / 0.7915 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01256, allocations: 0.5312 kB / 0.7915 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.0131, allocations: 331.6 kB / 0.7918 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01311, allocations: 0 / 0.7918 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.01315, allocations: 4 kB / 0.7918 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.01315, allocations: 0 / 0.7918 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.01317, allocations: 4.891 kB / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01317, allocations: 4 kB / 0.7918 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01317, allocations: 4 kB / 0.7918 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.01354, allocations: 220.5 kB / 0.792 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.01356, allocations: 7.953 kB / 0.792 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.01358, allocations: 0.5312 kB / 0.792 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.01367, allocations: 5.281 kB / 0.792 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.01373, allocations: 7.984 kB / 0.7921 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01374, allocations: 4 kB / 0.7921 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.01382, allocations: 94.33 kB / 0.7921 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01382, allocations: 0 / 0.7921 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003288/0.01415, allocations: 44.86 kB / 0.7922 GB, free: 6.57 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.0004371/0.01459, allocations: 165.9 kB / 0.7923 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.01486, allocations: 66.91 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01486, allocations: 0 / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.01498, allocations: 39.91 kB / 0.7924 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.01528, allocations: 22.67 kB / 0.7925 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.01579, allocations: 180.5 kB / 0.7926 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.01588, allocations: 71.33 kB / 0.7927 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.847e-05/0.01592, allocations: 4 kB / 0.7927 GB, free: 6 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.01596, allocations: 12.5 kB / 0.7927 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.01596, allocations: 3.938 kB / 0.7927 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of Templates: time 0.005256/0.02121, allocations: 1.498 MB / 0.7942 GB, free: 4.52 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.645846444997005]