Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.001815/0.001815, allocations: 119.9 kB / 17.13 MB, free: 5.758 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.002051/0.002051, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.45/1.45, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 443.5 MB / 0.7293 GB, free: 14.57 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 67.89 kB / 1.057 GB, free: 2.105 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2974, allocations: 160.7 MB / 1.214 GB, free: 1.078 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002737/0.3002, allocations: 1.506 MB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3015, allocations: 0.737 MB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.3016, allocations: 0 / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.3016, allocations: 7.875 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.593e-05/0.3016, allocations: 15.84 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.3022, allocations: 119.6 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.3023, allocations: 67.78 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.139e-05/0.3024, allocations: 11.92 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/0.3025, allocations: 35.86 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.3025, allocations: 39.83 kB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.3026, allocations: 4 kB / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.3028, allocations: 103.8 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.3028, allocations: 15.98 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.3029, allocations: 27.86 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.3031, allocations: 139.5 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3031, allocations: 3.938 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3031, allocations: 0 / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3031, allocations: 0 / 1.217 GB, free: 14.23 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.0006789/0.3038, allocations: 446.4 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3038, allocations: 12.03 kB / 1.217 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.3039, allocations: 8.891 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.304, allocations: 180.2 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.3041, allocations: 4.375 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3041, allocations: 8.312 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3043, allocations: 69.97 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3043, allocations: 0 / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3043, allocations: 8 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3043, allocations: 0 / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.3045, allocations: 35.97 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.305, allocations: 292.8 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3052, allocations: 46.5 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3053, allocations: 36.97 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3053, allocations: 0 / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.3055, allocations: 75.44 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.3055, allocations: 0 / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004847/0.306, allocations: 141.5 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.3061, allocations: 59.39 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3062, allocations: 121.8 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.3063, allocations: 29.64 kB / 1.218 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.3063, allocations: 96.12 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3064, allocations: 15.84 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.383e-05/0.3064, allocations: 29.7 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3066, allocations: 318.8 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.3067, allocations: 19.98 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.3068, allocations: 69.56 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.307, allocations: 85.08 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.307, allocations: 7.938 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000231/0.3072, allocations: 109.5 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3072, allocations: 8 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.3072, allocations: 7.922 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3072, allocations: 8.203 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.3073, allocations: 11.98 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.3073, allocations: 4 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.3074, allocations: 11.98 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3074, allocations: 8 kB / 1.219 GB, free: 11.62 MB / 0.9669 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.0001311/0.3076, allocations: 121.7 kB / 1.219 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.3076, allocations: 7.953 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.3076, allocations: 8.375 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3076, allocations: 4 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3076, allocations: 7.984 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3076, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.3082, allocations: 378.7 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3082, allocations: 4 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.3082, allocations: 3.938 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3082, allocations: 4 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3082, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3082, allocations: 11.92 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3082, allocations: 4.016 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.3086, allocations: 203.5 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.3086, allocations: 89.06 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.3087, allocations: 3.984 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.3087, allocations: 4 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.3088, allocations: 7.938 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3088, allocations: 7.984 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.719e-05/0.3089, allocations: 95.42 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3089, allocations: 0 / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003144/0.3092, allocations: 39.94 kB / 1.22 GB, free: 10.53 MB / 0.9669 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.0004288/0.3096, allocations: 162.9 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.3098, allocations: 67.89 kB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3099, allocations: 0 / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.31, allocations: 31.98 kB / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3102, allocations: 11.98 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.3107, allocations: 218.8 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.311, allocations: 0.6885 MB / 1.221 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.311, allocations: 11.44 kB / 1.221 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.311, allocations: 0 / 1.221 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of Templates: time 0.003578/0.3146, allocations: 1.59 MB / 1.223 GB, free: 7.707 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.7092400980182]